mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-06-25 20:31:31 +02:00
Fix sorting toolbar actions by group
This commit is contained in:
parent
7cfdae66b6
commit
41ed0218d4
@ -181,6 +181,10 @@ var et2_toolbar = et2_DOMWidget.extend(
|
||||
}
|
||||
|
||||
// ************** Drag and Drop feature for toolbar *****
|
||||
this.actionlist.find('span').sort( function (lg,g){
|
||||
return +lg.dataset.group - +g.dataset.group;
|
||||
}).appendTo(this.actionlist);
|
||||
|
||||
this.actionlist.appendTo(this.div);
|
||||
this.actionbox.appendTo(this.div);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user