mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-18 12:41:10 +01:00
Use getAttribute to get the data-group value to use it for toolbar sorting.\n\r -Fix group is undefined error opening mail in IE10
This commit is contained in:
parent
1ceaef9b0b
commit
9ae80ec4c1
@ -266,7 +266,7 @@ var et2_toolbar = et2_DOMWidget.extend([et2_IInput],
|
||||
|
||||
// ************** Drag and Drop feature for toolbar *****
|
||||
this.actionlist.find('span').sort( function (lg,g){
|
||||
return +lg.dataset.group - +g.dataset.group;
|
||||
return +lg.getAttribute('data-group') - +g.getAttribute('data-group');
|
||||
}).appendTo(this.actionlist);
|
||||
|
||||
this.actionlist.appendTo(this.div);
|
||||
|
Loading…
Reference in New Issue
Block a user