N°1123.4 AttributeImage: Better UI when editing in console. Also, export was showing url for empty value.

SVN:trunk[5060]
This commit is contained in:
Guillaume Lajarige
2017-10-20 13:22:38 +00:00
parent b7c4e084f3
commit 5c34e3d988
5 changed files with 22 additions and 16 deletions

View File

@@ -28,7 +28,7 @@ $(function()
// the constructor
_create: function () {
var me = this;
me.bLoadedEmpty = (me.options.current_image_url == '');
me.bLoadedEmpty = (me.options.current_image_url == '' || me.options.current_image_url == null);
var sMarkup = '';
sMarkup += '<input type="hidden" id="do_remove_' + me.options.input_name + '" name="' + me.options.input_name + '[remove]" value="0"/>';