提交 ac6a4a68 编写于 作者: 傻拖

增加附件预览

上级 46cc5c2e
......@@ -305,6 +305,7 @@ o2.LP.widget = {
"uploadTitle": "上传文件",
"uploadInfor": "请选择要上传的文件",
"delete": "删除",
"previewAtt" : "预览",
"replace": "替换",
"select": "选择",
......
......@@ -538,7 +538,7 @@ MWF.xApplication.process.Xform.AttachmentController = new Class({
this.deleteAction = this.createAction(this.editActionsGroupNode, "delete", o2.LP.widget["delete"], function (e, node) {
this.deleteAttachment(e, node);
}.bind(this));
this.previewAttAction = this.createAction(this.editActionsGroupNode, "previewAtt", "预览", function (e, node) {
this.previewAttAction = this.createAction(this.editActionsGroupNode, "previewAtt", o2.LP.widget["previewAtt"], function (e, node) {
this.previewAttachment(e, node);
}.bind(this));
if (!this.options.isReplaceHidden) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册