Rushabh Mehta 14 лет назад
Родитель
Сommit
42358b1d90
2 измененных файлов: 7 добавлений и 1 удалений
  1. +1
    -1
      js/legacy/widgets/form/fields.js
  2. +6
    -0
      wnf.py

+ 1
- 1
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;


+ 6
- 0
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()


Загрузка…
Отмена
Сохранить