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 17fe08f8fd
commit f2b108d656

View File

@ -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();
}