Changeset 402 for trunk


Ignore:
Timestamp:
10/26/05 06:42:49 (14 years ago)
Author:
gocher
Message:

In Changeset 372 kimss wrote: that this line made alot of exceptions in firefox!

But if this line is commented away, no button state is set!
And I don't get any exceptions in firefox!

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/htmlarea.js

    r401 r402  
    27002700      cmd = cmd.replace(/(un)?orderedlist/i, "insert$1orderedlist"); 
    27012701      try { 
    2702  
    2703         // FIXME : Firefox rires alot of exception errors on this one, so to make the 
    2704         // editor not show theese in the JS console I removed it for Firefox. 
    2705         // Gogo or Niko, maby you could look at this one. 
    2706         if(HTMLArea.is_ie){ 
    27072702        btn.state("active", (!text && doc.queryCommandState(cmd))); 
    2708         } 
    27092703      } catch (e) {} 
    27102704    } 
Note: See TracChangeset for help on using the changeset viewer.