Selaa lähdekoodia

fixes

version-14
Rushabh Mehta 14 vuotta sitten
vanhempi
commit
42358b1d90
2 muutettua tiedostoa jossa 7 lisäystä ja 1 poistoa
  1. +1
    -1
      js/legacy/widgets/form/fields.js
  2. +6
    -0
      wnf.py

+ 1
- 1
js/legacy/widgets/form/fields.js Näytä tiedosto

@@ -1208,7 +1208,7 @@ _f.ButtonField.prototype.make_input = function() { var me = this;


this.input.onclick = function() { this.input.onclick = function() {
if(me.not_in_form) return; if(me.not_in_form) return;
this.disabled = true;
this.disabled = 'disabled';
if(cur_frm.cscript[me.df.label] && (!me.in_filter)) { if(cur_frm.cscript[me.df.label] && (!me.in_filter)) {
cur_frm.runclientscript(me.df.label, me.doctype, me.docname); cur_frm.runclientscript(me.df.label, me.doctype, me.docname);
this.disabled = false; this.disabled = false;


+ 6
- 0
wnf.py Näytä tiedosto

@@ -58,6 +58,12 @@ def run():
vc.merge(vc.repo, vc.master) vc.merge(vc.repo, vc.master)
vc.close() vc.close()


elif cmd=='merge-local':
vc = version.VersionControl()
vc.setup_master()
vc.merge(vc.master, vc.repo)
vc.close()

elif cmd=='setup': elif cmd=='setup':
setup() setup()


Ladataan…
Peruuta
Tallenna