Changeset 505


Ignore:
Timestamp:
05/01/06 03:38:53 (13 years ago)
Author:
gogo
Message:

Probable fix for #630

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/htmlarea.js

    r503 r505  
    19731973HTMLArea.prototype.hidePanel = function(panel) 
    19741974{ 
    1975   if ( panel ) 
     1975  if ( panel && panel.style.display != 'none' ) 
    19761976  { 
    19771977    panel.style.display = 'none'; 
     
    19821982HTMLArea.prototype.showPanel = function(panel) 
    19831983{ 
    1984   if ( panel ) 
     1984  if ( panel && panel.style.display == 'none' ) 
    19851985  { 
    19861986    panel.style.display = ''; 
     
    51595159  if ( typeof this.config.stripSelfNamedAnchors != 'undefined' && this.config.stripSelfNamedAnchors ) 
    51605160  { 
    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'); 
    51625162    html = html.replace(stripRe, '$1'); 
    51635163  } 
  • trunk/plugins/FormOperations/form-operations.js

    r419 r505  
    228228 
    229229    var tag = activeElement.tagName.toLowerCase(); 
    230     this.panel.show(); 
    231  
     230     
    232231    this.hideAll(); 
    233232    if(tag === 'form') 
     
    311310      } 
    312311    } 
     312     
     313    this.panel.show(); 
     314     
    313315    //this.editor.scrollToElement(activeElement); 
    314316    this.activeElement = activeElement; 
Note: See TracChangeset for help on using the changeset viewer.