Etemplate - Show button icon if button goes from readonly -> clickable

This commit is contained in:
nathangray 2019-02-27 09:59:40 -07:00
parent d44cffbf8b
commit fb3d2cc4f3

View File

@ -225,7 +225,7 @@ var et2_button = (function(){ "use strict"; return et2_baseWidget.extend([et2_II
{ {
this.options.readonly = _ro; this.options.readonly = _ro;
if (this.image) if (this.options.image || this.options.ro_image)
{ {
this.update_image(); this.update_image();
} }