mirror of
https://github.com/processwire/processwire.git
synced 2025-08-18 12:31:17 +02:00
Remove/comment-out some old code referring to TinyMCE 3.x in InputfieldRepeater.js
This commit is contained in:
@@ -1090,9 +1090,11 @@ function InputfieldRepeater($) {
|
||||
});
|
||||
|
||||
// TinyMCE instances don't like to be dragged, so we disable them temporarily
|
||||
/*
|
||||
ui.item.find('.InputfieldTinyMCE textarea').each(function() {
|
||||
tinyMCE.execCommand('mceRemoveControl', false, $(this).attr('id'));
|
||||
});
|
||||
*/
|
||||
|
||||
if(familyFriendly && maxDepth > 0) {
|
||||
// remember and hide depth children
|
||||
@@ -1140,9 +1142,11 @@ function InputfieldRepeater($) {
|
||||
});
|
||||
|
||||
// Re-enable the TinyMCE instances
|
||||
/*
|
||||
ui.item.find('.InputfieldTinyMCE textarea').each(function() {
|
||||
tinyMCE.execCommand('mceAddControl', false, $(this).attr('id'));
|
||||
});
|
||||
*/
|
||||
|
||||
$(this).closest('.InputfieldRepeater').trigger('sorted', [ ui.item ]);
|
||||
},
|
||||
|
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user