Skip to content

Commit

Permalink
Merge pull request #2967 from SCADA-LTS/fix/#2961_Fixed_visibility_of…
Browse files Browse the repository at this point in the history
…_message_redirecting_to_create_a_new_view

#2961 Fixed visibility of message redirecting to create a new view:
  • Loading branch information
Limraj authored Aug 5, 2024
2 parents 3e89e8c + 3a0ed2d commit 8c180d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion WebContent/WEB-INF/tags/displayView.tag
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<script type="text/javascript">
dojo.addOnLoad(function() {
const viewBackground = document.getElementById("viewBackground");
if(!viewBackground.src.includes("spacer.gif")) {
if(viewBackground && !viewBackground.src.includes("spacer.gif")) {
loadDefaultSizeContainer('${view.backgroundFilename}','viewBackground');
}
})
Expand Down

0 comments on commit 8c180d3

Please sign in to comment.