diff --git a/etemplate/js/et2_widget_toolbar.js b/etemplate/js/et2_widget_toolbar.js index d4c782fc10..41ac30da68 100644 --- a/etemplate/js/et2_widget_toolbar.js +++ b/etemplate/js/et2_widget_toolbar.js @@ -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);