diff --git a/js/legacy/widgets/form/fields.js b/js/legacy/widgets/form/fields.js index 3a299fd043..1678f81420 100644 --- a/js/legacy/widgets/form/fields.js +++ b/js/legacy/widgets/form/fields.js @@ -1208,7 +1208,7 @@ _f.ButtonField.prototype.make_input = function() { var me = this; this.input.onclick = function() { if(me.not_in_form) return; - this.disabled = true; + this.disabled = 'disabled'; if(cur_frm.cscript[me.df.label] && (!me.in_filter)) { cur_frm.runclientscript(me.df.label, me.doctype, me.docname); this.disabled = false; diff --git a/wnf.py b/wnf.py index 0c7934c4f9..6bfb2d0c6d 100755 --- a/wnf.py +++ b/wnf.py @@ -58,6 +58,12 @@ def run(): vc.merge(vc.repo, vc.master) vc.close() + elif cmd=='merge-local': + vc = version.VersionControl() + vc.setup_master() + vc.merge(vc.master, vc.repo) + vc.close() + elif cmd=='setup': setup()