Skip to content

Commit

Permalink
fix conflict with this.template property by ignoring it if it is true.
Browse files Browse the repository at this point in the history
fixes #12644 !strict


git-svn-id: http://svn.dojotoolkit.org/src/dojox/trunk@27959 560b804f-0ae3-0310-86f3-f6aa0a117693
  • Loading branch information
neonstalwart committed Feb 21, 2012
1 parent dab825d commit a2cfc02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dtl/_DomTemplated.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ define([
if(!this._render){
var old = ddcd.widgetsInTemplate;
ddcd.widgetsInTemplate = this.widgetsInTemplate;
this.template = this.template || this._getCachedTemplate(this.templatePath, this.templateString);
this.template = this.template && this.template !== true ? this.template : this._getCachedTemplate(this.templatePath, this.templateString);
this._render = new ddrd.Render(this.domNode, this.template);
ddcd.widgetsInTemplate = old;
}
Expand Down

0 comments on commit a2cfc02

Please sign in to comment.