mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-13 04:53:26 +00:00
Fix #1059 : Remove tinyMCE as dependency
This commit is contained in:
@@ -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');
|
||||
|
Reference in New Issue
Block a user