Changeset 664
- Timestamp:
- 01/16/07 05:17:21 (6 years ago)
- Location:
- trunk
- Files:
-
- 3 modified
-
XinhaCore.js (modified) (3 diffs)
-
examples/testbed.html (modified) (2 diffs)
-
plugins/CharacterMap/character-map.js (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/XinhaCore.js
r661 r664 2042 2042 panel.style.display = 'none'; 2043 2043 this.notifyOf('panel_change', {'action':'hide','panel':panel}); 2044 this.scrollToElement(); 2044 2045 } 2045 2046 }; … … 2049 2050 if ( panel && panel.style.display == 'none' ) 2050 2051 { 2051 panel.style.display = ''; 2052 panel.style.display = ''; 2052 2053 this.notifyOf('panel_change', {'action':'show','panel':panel}); 2054 this.scrollToElement(); 2053 2055 } 2054 2056 }; … … 4183 4185 Xinha.prototype.scrollToElement = function(e) 4184 4186 { 4185 if ( Xinha.is_gecko ) 4187 if(!e) 4188 { 4189 e = this.getParentElement(); 4190 if(!e) return; 4191 } 4192 4193 if (1 || Xinha.is_gecko ) 4186 4194 { 4187 4195 var top = 0; -
trunk/examples/testbed.html
r663 r664 55 55 xinha_plugins = xinha_plugins ? xinha_plugins : 56 56 [ 57 ' FullPage', 'SpellChecker'57 'CharacterMap' 58 58 ]; 59 59 // THIS BIT OF JAVASCRIPT LOADS THE PLUGINS, NO TOUCHING :) … … 85 85 xinha_config = xinha_config ? xinha_config : new Xinha.Config(); 86 86 xinha_config.fullPage = true; 87 xinha_config.CharacterMap.mode = 'panel'; 87 88 /* 88 89 // We can load an external stylesheet like this - NOTE : YOU MUST GIVE AN ABSOLUTE URL -
trunk/plugins/CharacterMap/character-map.js
r431 r664 116 116 if (HTMLArea.is_ie) editor.focusEditor(); 117 117 editor.insertHTML( entite ); 118 self._isActive = false;119 editor.hidePanel( editor._CharacterMap );118 //self._isActive = false; 119 //editor.hidePanel( editor._CharacterMap ); 120 120 return false; 121 121 };
