Fixed error
This commit is contained in:
parent
e9e10d3a79
commit
329050b02b
|
@ -580,7 +580,7 @@ function readFields() {
|
|||
}
|
||||
values['width'] = $("input[name=width]").val();
|
||||
values['width_data_image'] = $("#data_image_width").val();
|
||||
if(values['width_data_image'] != 0){
|
||||
if(values['width_data_image'] != 0 && values['width_data_image'] != undefined){
|
||||
values['width'] = values['width_data_image'];
|
||||
}
|
||||
values['height'] = $("input[name=height]").val();
|
||||
|
|
Loading…
Reference in New Issue