Fix #1059 : Remove tinyMCE as dependency

This commit is contained in:
Romain Neutron
2013-01-08 19:17:12 +01:00
parent 3a45a1f951
commit a0dda3ebe7
11 changed files with 3 additions and 33 deletions

View File

@@ -1089,10 +1089,6 @@ function download(value)
overlay: {
backgroundColor: '#000',
opacity: 0.7
},
beforeclose:function(){
tinyMCE.execCommand('mceRemoveControl',true,'sendmail_message');
tinyMCE.execCommand('mceRemoveControl',true,'order_usage');
}
}).dialog('open');
@@ -1100,8 +1096,6 @@ function download(value)
dialog_box.removeClass('loading').empty().append(data);
$('.tabs', dialog_box).tabs();
tinyMCE.execCommand('mceAddControl',true,'sendmail_message');
tinyMCE.execCommand('mceAddControl',true,'order_usage');
$('.close_button', dialog_box).bind('click',function(){
dialog_box.dialog('close').dialog('destroy');