Builder/Provider/File/Base.js
authorAlan Knowles <alan@akbkhome.com>
Thu, 13 May 2010 10:37:25 +0000 (18:37 +0800)
committerAlan Knowles <alan@akbkhome.com>
Thu, 13 May 2010 10:37:25 +0000 (18:37 +0800)
Builder/Provider/File/Base.js

index a57d44b..aba559b 100644 (file)
@@ -84,7 +84,7 @@ Base = XObject.define(
         guessName : function(ar) // turns the object into full name.
         {
              // eg. xns: Roo, xtype: XXX -> Roo.xxx
-            if (typeof( ar['|xns'] ) == 'undefined' || typeof( ar['xtyle'] ) == 'undefined') {
+            if (typeof( ar['|xns'] ) == 'undefined' || typeof( ar['xtype'] ) == 'undefined') {
                 return '';
                }