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, { return BI.extend(conf, {
baseCls: (conf.baseCls || "") + " bi-multifile-editor", baseCls: (conf.baseCls || "") + " bi-multifile-editor",
multiple: false, multiple: false,
maxSize: 1024 * 1024, maxSize: -1,//1024 * 1024
accept: "", accept: "",
url: "" url: ""
}) })
@ -18943,7 +18943,7 @@ BI.shortcut("bi.checkbox", BI.Checkbox);/**
url: "", url: "",
multiple: true, multiple: true,
accept: "", /**'*.jpg; *.zip'**/ accept: "", /**'*.jpg; *.zip'**/
maxSize: 1024 * 1024 maxSize: -1 //1024 * 1024
}) })
}, },
@ -19019,7 +19019,7 @@ BI.shortcut("bi.checkbox", BI.Checkbox);/**
}, 1000); }, 1000);
}; };
_wrap.url = o.url ? o.url : BI.servletURL _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.fileType = o.accept; //文件类型限制
_wrap.attach_array = []; _wrap.attach_array = [];
_wrap.attach_names = []; _wrap.attach_names = [];

6
docs/base.js

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

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

@ -399,7 +399,7 @@
url: "", url: "",
multiple: true, multiple: true,
accept: "", /**'*.jpg; *.zip'**/ accept: "", /**'*.jpg; *.zip'**/
maxSize: 1024 * 1024 maxSize: -1 //1024 * 1024
}) })
}, },
@ -475,7 +475,7 @@
}, 1000); }, 1000);
}; };
_wrap.url = o.url ? o.url : BI.servletURL _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.fileType = o.accept; //文件类型限制
_wrap.attach_array = []; _wrap.attach_array = [];
_wrap.attach_names = []; _wrap.attach_names = [];

Loading…
Cancel
Save