Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff --git a/administrator/components/com_jdiction/views/translation/tmpl/form.php b/administrator/components/com_jdiction/views/translation/tmpl/form.php
- index 49fe3ca..78dd4ec 100644
- --- a/administrator/components/com_jdiction/views/translation/tmpl/form.php
- +++ b/administrator/components/com_jdiction/views/translation/tmpl/form.php
- @@ -45,8 +45,9 @@ JHtml::_('behavior.formvalidation');
- });
- //If we have a tinyMCE Editor
- if (typeof tinyMCE != 'undefined') {
- - tinyMCE.onAddEditor.add(function(mgr,ed) {
- - ed.onChange.add(function(ed, e) {
- + tinyMCE.on('AddEditor', function(e) {
- + ed = e.editor;
- + ed.on('Change', function(e) {
- jdiction_checkStatus(ed.getContent(), jQuery('#'+ed.id+'_status').prop('title'), ed.id, '#'+ed.id+'_tbl');
- });
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement