guy 8 years ago
parent
commit
1bc0774fed
  1. 6
      bi/base.js
  2. 6
      docs/base.js
  3. 2
      src/base/single/editor/editor.multifile.js
  4. 4
      src/base/single/input/file.js

6
bi/base.js

@ -18182,7 +18182,7 @@ BI.MultifileEditor = BI.inherit(BI.Single, {
return BI.extend(conf, {
baseCls: (conf.baseCls || "") + " bi-multifile-editor",
multiple: false,
maxSize: 1024 * 1024,
maxSize: -1,//1024 * 1024
accept: "",
url: ""
})
@ -18943,7 +18943,7 @@ BI.shortcut("bi.checkbox", BI.Checkbox);/**
url: "",
multiple: true,
accept: "", /**'*.jpg; *.zip'**/
maxSize: 1024 * 1024
maxSize: -1 //1024 * 1024
})
},
@ -19019,7 +19019,7 @@ BI.shortcut("bi.checkbox", BI.Checkbox);/**
}, 1000);
};
_wrap.url = o.url ? o.url : BI.servletURL
+ '?op=fr_attach&cmd=ah_upload';
+ '?op=fr_attach&cmd=ah_upload';
_wrap.fileType = o.accept; //文件类型限制
_wrap.attach_array = [];
_wrap.attach_names = [];

6
docs/base.js

@ -18182,7 +18182,7 @@ BI.MultifileEditor = BI.inherit(BI.Single, {
return BI.extend(conf, {
baseCls: (conf.baseCls || "") + " bi-multifile-editor",
multiple: false,
maxSize: 1024 * 1024,
maxSize: -1,//1024 * 1024
accept: "",
url: ""
})
@ -18943,7 +18943,7 @@ BI.shortcut("bi.checkbox", BI.Checkbox);/**
url: "",
multiple: true,
accept: "", /**'*.jpg; *.zip'**/
maxSize: 1024 * 1024
maxSize: -1 //1024 * 1024
})
},
@ -19019,7 +19019,7 @@ BI.shortcut("bi.checkbox", BI.Checkbox);/**
}, 1000);
};
_wrap.url = o.url ? o.url : BI.servletURL
+ '?op=fr_attach&cmd=ah_upload';
+ '?op=fr_attach&cmd=ah_upload';
_wrap.fileType = o.accept; //文件类型限制
_wrap.attach_array = [];
_wrap.attach_names = [];

2
src/base/single/editor/editor.multifile.js

@ -12,7 +12,7 @@ BI.MultifileEditor = BI.inherit(BI.Single, {
return BI.extend(conf, {
baseCls: (conf.baseCls || "") + " bi-multifile-editor",
multiple: false,
maxSize: 1024 * 1024,
maxSize: -1,//1024 * 1024
accept: "",
url: ""
})

4
src/base/single/input/file.js

@ -399,7 +399,7 @@
url: "",
multiple: true,
accept: "", /**'*.jpg; *.zip'**/
maxSize: 1024 * 1024
maxSize: -1 //1024 * 1024
})
},
@ -475,7 +475,7 @@
}, 1000);
};
_wrap.url = o.url ? o.url : BI.servletURL
+ '?op=fr_attach&cmd=ah_upload';
+ '?op=fr_attach&cmd=ah_upload';
_wrap.fileType = o.accept; //文件类型限制
_wrap.attach_array = [];
_wrap.attach_names = [];

Loading…
Cancel
Save