Dotclear

Changeset 430:dbecec9a2ede for admin/js


Ignore:
Timestamp:
06/28/11 10:53:33 (14 years ago)
Author:
Tomtom33 <tbouron@…>
Branch:
wysiwyg
Message:

Fixed various bugs

Location:
admin/js
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • admin/js/dcToolBar.js

    r379 r430  
    1313               } 
    1414                
     15               tinymce.addI18n(dcToolBar.getI18n()); 
     16                
    1517               return this.each(function(){ 
    1618                    $.data(this,'toolbar',new tinymce.Editor($(this).attr('id'),dcToolBar.getConfig(settings.formatter))); 
    1719                    $(this).data('toolbar').activeFormatter = settings.formatter; 
    18                     $(this).data('toolbar').onPreInit.add(function(ed) { 
    19                          tinymce.addI18n(dcToolBar.getI18n()); 
    20                     }); 
    2120               }); 
    2221           
  • admin/js/tiny_mce/plugins/dcControls/editor_plugin.js

    r424 r430  
    2626                    var url = popup_link_url; 
    2727                    var node = ed.dom.getParent(se.getNode(), 'A'); 
     28                     
     29                    if (node == null) { 
     30                         node = se.getNode(); 
     31                    } 
    2832                     
    2933                    if (node.nodeName == 'A') { 
Note: See TracChangeset for help on using the changeset viewer.

Sites map