Changeset 505
- Timestamp:
- 05/01/06 03:38:53 (7 years ago)
- Location:
- trunk
- Files:
-
- 2 modified
-
htmlarea.js (modified) (3 diffs)
-
plugins/FormOperations/form-operations.js (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/htmlarea.js
r503 r505 1973 1973 HTMLArea.prototype.hidePanel = function(panel) 1974 1974 { 1975 if ( panel )1975 if ( panel && panel.style.display != 'none' ) 1976 1976 { 1977 1977 panel.style.display = 'none'; … … 1982 1982 HTMLArea.prototype.showPanel = function(panel) 1983 1983 { 1984 if ( panel )1984 if ( panel && panel.style.display == 'none' ) 1985 1985 { 1986 1986 panel.style.display = ''; … … 5159 5159 if ( typeof this.config.stripSelfNamedAnchors != 'undefined' && this.config.stripSelfNamedAnchors ) 5160 5160 { 5161 var stripRe = new RegExp(document.location.href.replace( /&/g,'&').replace(HTMLArea.RE_Specials, '\\$1') + '(#[^\'" ]*)', 'g');5161 var stripRe = new RegExp(document.location.href.replace(HTMLArea.RE_Specials, '\\$1') + '(#[^\'" ]*)', 'g'); 5162 5162 html = html.replace(stripRe, '$1'); 5163 5163 } -
trunk/plugins/FormOperations/form-operations.js
r419 r505 228 228 229 229 var tag = activeElement.tagName.toLowerCase(); 230 this.panel.show(); 231 230 232 231 this.hideAll(); 233 232 if(tag === 'form') … … 311 310 } 312 311 } 312 313 this.panel.show(); 314 313 315 //this.editor.scrollToElement(activeElement); 314 316 this.activeElement = activeElement;
