aboutsummaryrefslogtreecommitdiff
path: root/js/panels/PanelContainer.reel
diff options
context:
space:
mode:
Diffstat (limited to 'js/panels/PanelContainer.reel')
-rwxr-xr-xjs/panels/PanelContainer.reel/PanelContainer.js12
1 files changed, 0 insertions, 12 deletions
diff --git a/js/panels/PanelContainer.reel/PanelContainer.js b/js/panels/PanelContainer.reel/PanelContainer.js
index dc501a99..7cb03255 100755
--- a/js/panels/PanelContainer.reel/PanelContainer.js
+++ b/js/panels/PanelContainer.reel/PanelContainer.js
@@ -81,8 +81,6 @@ exports.PanelContainer = Montage.create(Component, {
81 } 81 }
82 82
83 this.application.localStorage.setItem("panels", this.currentPanelState); 83 this.application.localStorage.setItem("panels", this.currentPanelState);
84
85 this.eventManager.addEventListener( "closeDocument", this, false);
86 } 84 }
87 }, 85 },
88 86
@@ -104,16 +102,6 @@ exports.PanelContainer = Montage.create(Component, {
104 } 102 }
105 }, 103 },
106 104
107 handleCloseDocument: {
108 value: function(){
109 if(!this.application.ninja.documentController.activeDocument) {
110 this.panels.forEach(function(obj) {
111 obj.disabled = true;
112 });
113 }
114 }
115 },
116
117 handleDropped: { 105 handleDropped: {
118 value: function(e) { 106 value: function(e) {
119 var draggedIndex, droppedIndex = 0, len = this.panels.length; 107 var draggedIndex, droppedIndex = 0, len = this.panels.length;