From 757c58acc9f156e9529009bca39d3ecd4c9fbe70 Mon Sep 17 00:00:00 2001 From: Hadi Nategh Date: Thu, 4 Jan 2018 12:02:36 +0100 Subject: [PATCH] Add proper icon for vfsSelect submit button --- api/js/etemplate/et2_widget_vfs.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/api/js/etemplate/et2_widget_vfs.js b/api/js/etemplate/et2_widget_vfs.js index 464835495f..2c35837554 100644 --- a/api/js/etemplate/et2_widget_vfs.js +++ b/api/js/etemplate/et2_widget_vfs.js @@ -999,7 +999,11 @@ var et2_vfsSelect = (function(){ "use strict"; return et2_inputWidget.extend( } var self = this; 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"} ]; var data = jQuery.extend(_data, {'currentapp': egw(window).app_name()});