瀏覽代碼

minor fix in print format

version-14
Anand Doshi 12 年之前
父節點
當前提交
1774bed97e
共有 1 個文件被更改,包括 2 次插入3 次删除
  1. +2
    -3
      public/js/wn/print/print_table.js

+ 2
- 3
public/js/wn/print/print_table.js 查看文件

@@ -35,14 +35,13 @@ wn.print.Table = Class.extend({
if(!this.columns)
this.columns = this.get_columns();
this.data = this.get_data();
if(!this.show_all)
this.remove_empty_cols();
this.remove_empty_cols();
this.set_widths();
this.make();
},
get_columns: function() {
return ['Sr'].concat($.map(wn.meta.docfield_list[this.tabletype], function(df) {
return df.print_hide ? null : df.fieldname;
return cint(df.print_hide) ? null : df.fieldname;
}));
},
get_data: function() {


Loading…
取消
儲存