[Dojo-checkins] [dojo] #8479: dojox.widget.Standby breaks IE 7 10-21-2009 nightly build

dojo trac at dojotoolkit.org
Mon Jan 26 22:26:50 UTC 2009


#8479: dojox.widget.Standby breaks IE 7 10-21-2009 nightly build
------------------------------+---------------------------------------------
 Reporter:  ecarew            |        Owner:  jaredj    
     Type:  defect            |       Status:  closed    
 Priority:  normal            |    Milestone:  tbd       
Component:  DojoX Widgets     |      Version:  1.2.3     
 Severity:  normal            |   Resolution:  worksforme
 Keywords:  IE 7 Standby div  |  
------------------------------+---------------------------------------------

Comment(by ecarew):

 Replying to [comment:6 jaredj]:
 > Thanks for the page.  Unfortunately, that page doesn't load in IE at
 all.  I get an 'unknown JS error' reported from Javascript and init halts.
 Can you provide a simpler testcase that loads on IE completely?  (I ran
 against 1.3/trunk, since that is where Standby appears).

 <sigh>. Ok, perhaps you've given me my answer after all. I'll just go back
 to the less elegant, but servicable disabled field + hidden variable.
 Thanks for your help tho. I'll have a look once its a little bit more
 mature.
 >
 >
 > Secondly, I'm not sure you're using Standby for what its intention was
 ... you don't need it to block access to a form field, you can just as
 easily do:
 >
 > //Disable a field
 > var field = dijit.byId("someField");
 > field.attr("disabled", true);
 >
 > ..
 >
 > //Enable a field
 > var field = dijit.byId("someField");
 > field.attr("disabled", false);
 >
 > You don't need to overlay block it.
 >
 > Also, you seem to be defining them in both JS AND declarative.  That
 isn't necessary.  Do one or the other.

-- 
Ticket URL: <http://trac.dojotoolkit.org/ticket/8479#comment:7>
dojo <http://dojotoolkit.org/>
The Dojo UI Toolkit


More information about the Dojo-checkins mailing list