mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
MINOR Fixed js applying to non-tinymce textarea fields in ModelAdmin.js (fixes #5453)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.3@103447 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
147bdee8ea
commit
e2a5021def
@ -183,7 +183,7 @@ $(document).ready(function() {
|
||||
var form = $('#right form');
|
||||
var formAction = form.attr('action') + '?' + $(this).fieldSerialize();
|
||||
|
||||
$('#right form textarea').each(function(){
|
||||
$('#right form textarea.htmleditor').each(function(){
|
||||
tinyMCE.execCommand('mceRemoveControl', false, $(this).attr('id'));
|
||||
});
|
||||
|
||||
@ -213,7 +213,7 @@ $(document).ready(function() {
|
||||
return false;
|
||||
}
|
||||
|
||||
$('#right form textarea').each(function(){
|
||||
$('#right form textarea.htmleditor').each(function(){
|
||||
tinyMCE.execCommand('mceRemoveControl', false, $(this).attr('id'));
|
||||
});
|
||||
|
||||
@ -320,7 +320,7 @@ $(document).ready(function() {
|
||||
},
|
||||
|
||||
goBack: function() {
|
||||
$('#right form textarea').each(function(){
|
||||
$('#right form textarea.htmleditor').each(function(){
|
||||
tinyMCE.execCommand('mceRemoveControl', false, $(this).attr('id'));
|
||||
});
|
||||
|
||||
@ -337,7 +337,7 @@ $(document).ready(function() {
|
||||
},
|
||||
|
||||
goForward: function() {
|
||||
$('#right form textarea').each(function(){
|
||||
$('#right form textarea.htmleditor').each(function(){
|
||||
tinyMCE.execCommand('mceRemoveControl', false, $(this).attr('id'));
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user