Changeset 6789

Show
Ignore:
Timestamp:
12/02/06 21:26:43 (2 years ago)
Author:
jburke
Message:

Fixes #2080: insertion of templateCssString not checking for dupes (merge from trunk)

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/0.4.1_working/src/widget/DomWidget.js

    r6761 r6789  
    712712                        } 
    713713                 
    714                         if((this["templateCssString"])&&(!this.templateCssString["loaded"])){ 
     714                        if((this["templateCssString"])&&(!dojo.widget._cssStrings[this.templateCssString])){ 
    715715                                dojo.html.insertCssText(this.templateCssString, null, cpath); 
    716                                 if(!this.templateCssString){ this.templateCssString = ""; } 
    717                                 this.templateCssString.loaded = true; 
     716                                dojo.widget._cssStrings[this.templateCssString] = true; 
    718717                        } 
    719718                        if(