瀏覽代碼

fixes in print format and wnf

version-14
Anand Doshi 13 年之前
父節點
當前提交
fce702fa06
共有 2 個檔案被更改,包括 7 行新增0 行删除
  1. +1
    -0
      js/legacy/widgets/form/print_format.js
  2. +6
    -0
      wnf.py

+ 1
- 0
js/legacy/widgets/form/print_format.js 查看文件

@@ -35,6 +35,7 @@ _p.go = function(html) {

_p.preview = function(html) {
var w = window.open('');
if(!w) return;
w.document.write(html)
w.document.close();
}


+ 6
- 0
wnf.py 查看文件

@@ -259,10 +259,16 @@ def run():
elif options.sync_all is not None:
import webnotes.model.sync
webnotes.model.sync.sync_all(options.force or 0)
# update js code version (clear to localStorage)
from build.project import update_version
update_version()

elif options.sync is not None:
import webnotes.model.sync
webnotes.model.sync.sync(options.sync[0], options.sync[1], options.force or 0)
# update js code version (clear to localStorage)
from build.project import update_version
update_version()

# print messages
if webnotes.message_log:


Loading…
取消
儲存