Skip to content

Commit

Permalink
Check if loadPanel exists
Browse files Browse the repository at this point in the history
  • Loading branch information
ericabouaf committed Aug 24, 2010
1 parent a310389 commit 6469a6d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion plugins/editor/js/WiringEditor.js
Expand Up @@ -447,7 +447,9 @@ lang.extend(WireIt.WiringEditor, WireIt.BaseEditor, {

this.preventLayerChangedEvent = true;

this.loadPanel.hide();
if(this.loadPanel) {
this.loadPanel.hide();
}

var wiring = this.getPipeByName(name), i;

Expand Down

0 comments on commit 6469a6d

Please sign in to comment.