Attach relative icons with buttons used in col-selector dialog

This commit is contained in:
Hadi Nategh 2020-01-06 16:07:23 +01:00
parent e8b3372d43
commit f5ed503502

View File

@ -1444,7 +1444,7 @@ var et2_nextmatch = (function(){ "use strict"; return et2_DOMWidget.extend([et2_
});
defaultCheck.set_value(this.options.settings.columns_forced ? 'force': '');
var okButton = et2_createWidget("buttononly", {}, this);
var okButton = et2_createWidget("buttononly", {"background_image":true, image:"check"}, this);
okButton.set_label(this.egw().lang("ok"));
okButton.onclick = function() {
// Update visibility
@ -1553,7 +1553,7 @@ var et2_nextmatch = (function(){ "use strict"; return et2_DOMWidget.extend([et2_
self.selectPopup = null;
};
var cancelButton = et2_createWidget("buttononly", {}, this);
var cancelButton = et2_createWidget("buttononly", {"background_image":true, image:"cancel"}, this);
cancelButton.set_label(this.egw().lang("cancel"));
cancelButton.onclick = function() {
self.selectPopup.toggle();