builder.html.js
authorAlan Knowles <alan@akbkhome.com>
Wed, 26 May 2010 09:38:49 +0000 (17:38 +0800)
committerAlan Knowles <alan@akbkhome.com>
Wed, 26 May 2010 09:38:49 +0000 (17:38 +0800)
builder.html.js

index 183711e..383007f 100644 (file)
@@ -222,7 +222,7 @@ Builder  = {
         }
         if (cfg.xtype) {
             if (!cfg.xns || typeof(cfg.xns[cfg.xtype]) == 'undefined') {
-                throw "Invalid Xtype " + this.xtreepath;
+                throw "Invalid Xtype " + cfg.xtreepath;
             }
         }