Add proper icon for vfsSelect submit button

This commit is contained in:
Hadi Nategh 2018-01-04 12:02:36 +01:00
parent 78f7806e63
commit 757c58acc9

View File

@ -999,7 +999,11 @@ var et2_vfsSelect = (function(){ "use strict"; return et2_inputWidget.extend(
} }
var self = this; var self = this;
var buttons = [ var buttons = [
{text: egw.lang(_data.content.label), id:"submit"}, {
text: egw.lang(_data.content.label),
id:"submit",
image:_data.content.mode.match(/saveas|select-dir/) ? "save" : "check"
},
{text: egw.lang("Close"), id:"close"} {text: egw.lang("Close"), id:"close"}
]; ];
var data = jQuery.extend(_data, {'currentapp': egw(window).app_name()}); var data = jQuery.extend(_data, {'currentapp': egw(window).app_name()});