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

@@ -793,10 +793,6 @@ function evt_dwnl(lst)
overlay: {
backgroundColor: '#000',
opacity: 0.7
},
beforeclose:function(){
tinyMCE.execCommand('mceRemoveControl',true,'sendmail_message');
tinyMCE.execCommand('mceRemoveControl',true,'order_usage');
}
}).dialog('open');
@@ -809,8 +805,6 @@ function evt_dwnl(lst)
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');