mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-01-31 12:49:34 +00:00
removed bug in treesort
git-svn-id: https://svn.fhem.de/fhem/trunk@3370 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
951a4b4d59
commit
a526ec16f0
@ -278,7 +278,7 @@ UPD 2013-04-28_02:00:20 1205 www/frontend/app/view/ChartGridPanel.js
|
||||
UPD 2013-04-03_07:26:40 15793 www/frontend/app/view/DevicePanel.js
|
||||
UPD 2013-06-30_11:47:44 11076 www/frontend/app/view/Viewport.js
|
||||
UPD 2013-06-27_09:35:22 10042 www/frontend/app/view/TableDataGridPanel.js
|
||||
UPD 2013-06-30_11:46:54 83500 www/frontend/app/controller/ChartController.js
|
||||
UPD 2013-06-30_12:31:20 83887 www/frontend/app/controller/ChartController.js
|
||||
UPD 2013-06-30_11:46:54 18379 www/frontend/app/controller/MainController.js
|
||||
UPD 2013-06-30_11:46:54 5415 www/frontend/app/controller/TableDataController.js
|
||||
UPD 2013-04-01_07:04:35 202 www/frontend/app/model/ReadingsModel.js
|
||||
|
@ -1753,6 +1753,10 @@ Ext.define('FHEM.controller.ChartController', {
|
||||
* handling the moving of nodes in tree, saving new position of saved charts in db
|
||||
*/
|
||||
movenodeintree: function(treeview, action, collidatingrecord) {
|
||||
var unsorted = Ext.ComponentQuery.query('treepanel button[name=unsortedtree]')[0].pressed;
|
||||
|
||||
//only save orders when in sorted mode
|
||||
if (!unsorted) {
|
||||
var rec = action.records[0],
|
||||
id = rec.raw.data.ID;
|
||||
|
||||
@ -1802,5 +1806,7 @@ Ext.define('FHEM.controller.ChartController', {
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
});
|
Loading…
Reference in New Issue
Block a user