[minor] [item] on adding image, add description html if it is empty

This commit is contained in:
Anand Doshi 2013-07-15 14:49:03 +05:30
parent c4e9deeea8
commit ce36204129

View File

@ -193,4 +193,6 @@ cur_frm.cscript.copy_from_item_group = function(doc) {
cur_frm.cscript.image = function() {
refresh_field("image_view");
if(!cur_frm.doc.description_html) cur_frm.cscript.add_image(cur_frm.doc);
}