mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 23:00:56 +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
49789bcf09
commit
a0bf45da93
@ -266,7 +266,7 @@ var et2_toolbar = et2_DOMWidget.extend([et2_IInput],
|
|||||||
|
|
||||||
// ************** Drag and Drop feature for toolbar *****
|
// ************** Drag and Drop feature for toolbar *****
|
||||||
this.actionlist.find('span').sort( function (lg,g){
|
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);
|
}).appendTo(this.actionlist);
|
||||||
|
|
||||||
this.actionlist.appendTo(this.div);
|
this.actionlist.appendTo(this.div);
|
||||||
|
Loading…
Reference in New Issue
Block a user