commit | c1b71041263b1375caa4d805d4589431b85a7e9f | [log] [tgz] |
---|---|---|
author | shreyas <shreyas@erpnext.com> | Fri Oct 07 14:20:51 2016 +0530 |
committer | shreyas <shreyas@erpnext.com> | Fri Oct 07 14:20:51 2016 +0530 |
tree | 4ed0dd6193c9c14a5959f70e3baf77fd950906c1 | |
parent | a1d7646e70e2337290f1771bed3f26f78db2c202 [diff] |
[Fix] Minor changes to logic
diff --git a/erpnext/setup/doctype/notification_control/notification_control.js b/erpnext/setup/doctype/notification_control/notification_control.js index 9a1f238..70d45bc 100644 --- a/erpnext/setup/doctype/notification_control/notification_control.js +++ b/erpnext/setup/doctype/notification_control/notification_control.js
@@ -9,7 +9,7 @@ frm.set_value("custom_message", frm.doc[frm.events.get_fieldname(frm)]); }, set_message: function(frm) { - if(frm.doc.select_transaction) { + if(frm.doc.select_transaction && frm.doc.select_transaction !== " ") { frm.set_value(frm.events.get_fieldname(frm), frm.doc.custom_message); } frm.save();