Commit c6ac946e3da917fae1f4a8b4315e98463466fdde
1 parent
e6e5b259
Exists in
master
and in
111 other branches
Clean mask component
Showing
1 changed file
with
3 additions
and
21 deletions
Show diff stats
desktop.php
... | ... | @@ -127,23 +127,9 @@ |
127 | 127 | maskMsg.style.zIndex = '99999'; |
128 | 128 | if (interactivePlot) |
129 | 129 | { |
130 | - //ToDo - BRE | |
131 | - /* var killBtn = Ext.get('killopBtn'); | |
132 | - var multiPlotWin = myDesktopApp.desktop.getWindow(amdaDesktop.InteractivePlotMgr.id); | |
133 | - // multiPlotWin was closed - single plot mode | |
134 | - if (!multiPlotWin) { | |
135 | - var tabIds = tabId; | |
136 | - } | |
137 | - else { | |
138 | - var multiCheckedTabs = multiPlotWin.items.items[0].checkedTabs; | |
139 | - | |
140 | - if (multiCheckedTabs && multiCheckedTabs.length > 1) | |
141 | - var tabIds = multiCheckedTabs; | |
142 | - else | |
143 | - var tabIds = tabId; | |
144 | - } | |
130 | + var killBtn = Ext.get('killopBtn'); | |
145 | 131 | killBtn.on('click',function(e,t) { |
146 | - AmdaAction.killPlotRequest({tabId : tabIds},function (result, e) | |
132 | + AmdaAction.killPlotRequest(function (result, e) | |
147 | 133 | { |
148 | 134 | var t = e.getTransaction(); |
149 | 135 | if (e.status) |
... | ... | @@ -154,14 +140,10 @@ |
154 | 140 | else |
155 | 141 | myDesktopApp.errorMsg(e.message); |
156 | 142 | |
157 | - var multiPlotWin = myDesktopApp.desktop.getWindow(amdaDesktop.InteractivePlotMgr.id); | |
158 | - if (multiPlotWin && tabIds.length > 1) | |
159 | - multiPlotWin.items.items[0].checkBoxGroup.reset(); | |
160 | - | |
161 | 143 | },this); |
162 | 144 | |
163 | 145 | }, |
164 | - this);*/ | |
146 | + this); | |
165 | 147 | |
166 | 148 | } |
167 | 149 | }, | ... | ... |