Commit 8bd4149349f80e4248153bd860fc1ead78ae3038
Exists in
master
and in
91 other branches
Merge branch 'master' of https://gitlab.irap.omp.eu/CDPP/AMDA_IHM
Showing
1 changed file
with
3 additions
and
4 deletions
Show diff stats
js/app/views/ExplorerUI.js
... | ... | @@ -346,16 +346,15 @@ Ext.define('amdaUI.ExplorerUI', { |
346 | 346 | return false; |
347 | 347 | |
348 | 348 | var draggedRecord = draggedRecords[0]; |
349 | + | |
349 | 350 | // |
350 | 351 | switch (targetNode.data.nodeType) |
351 | 352 | { |
352 | 353 | case 'localParam' : |
353 | 354 | case 'remoteParam' : |
354 | 355 | case 'remoteSimuParam' : |
355 | - case 'myData' : | |
356 | - case 'sharedcatalog': | |
357 | - case ' sharedtimeTable': | |
358 | - return false; | |
356 | + case 'myData' : case 'sharedcatalog': case "sharedtimeTable" : | |
357 | + return false; | |
359 | 358 | default : |
360 | 359 | if (draggedRecord.data.id == targetNode.data.nodeType+'-treeRootNode') |
361 | 360 | return false; | ... | ... |