fixes
This commit is contained in:
parent
ff6fa63d29
commit
42358b1d90
2 changed files with 7 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
6
wnf.py
6
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()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue