From fb3d2cc4f3dd6781b9eccd06982bbc07f45bd4c7 Mon Sep 17 00:00:00 2001 From: nathangray Date: Wed, 27 Feb 2019 09:59:40 -0700 Subject: [PATCH] Etemplate - Show button icon if button goes from readonly -> clickable --- api/js/etemplate/et2_widget_button.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/js/etemplate/et2_widget_button.js b/api/js/etemplate/et2_widget_button.js index 71a3ff0c14..a3a476dea5 100644 --- a/api/js/etemplate/et2_widget_button.js +++ b/api/js/etemplate/et2_widget_button.js @@ -225,7 +225,7 @@ var et2_button = (function(){ "use strict"; return et2_baseWidget.extend([et2_II { this.options.readonly = _ro; - if (this.image) + if (this.options.image || this.options.ro_image) { this.update_image(); }