提交 e4605192 编写于 作者: 蔡祥熠

Merge branch 'fix/form_html' into 'wrdp'

Merge of fix/form_html 修复拷贝HTML组件的时候,会带进之前拷贝的内容的问题  to wrdp

See merge request o2oa/o2oa!6238
......@@ -54,8 +54,9 @@ MWF.xApplication.portal.PageDesigner.Main = new Class({
this.addEvent("copy", function(){
this.copyModule();
}.bind(this));
this.addEvent("paste", function(){
this.addEvent("paste", function(e){
this.pasteModule();
e.preventDefault();
}.bind(this));
this.addEvent("cut", function(){
this.cutModule();
......
......@@ -51,8 +51,9 @@ MWF.xApplication.process.FormDesigner.Main = new Class({
this.addEvent("copy", function(){
this.copyModule();
}.bind(this));
this.addEvent("paste", function(){
this.addEvent("paste", function(e){
this.pasteModule();
e.preventDefault();
}.bind(this));
this.addEvent("cut", function(){
this.cutModule();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册