Roo/XComponent.js
authorjohn <john@roojs.com>
Thu, 24 May 2018 09:16:27 +0000 (17:16 +0800)
committerjohn <john@roojs.com>
Thu, 24 May 2018 09:16:27 +0000 (17:16 +0800)
Roo/XComponent.js

index 9283197..aeb257b 100644 (file)
@@ -688,7 +688,7 @@ Roo.apply(Roo.XComponent, {
      */
        overlayStrings : function( component, strings )
     {
-        if (typeof(component['_named_strings']) == undefined) {
+        if (typeof(component['_named_strings']) == 'undefined') {
             throw "ERROR: component does not have _named_strings";
         }
         for ( var k in strings ) {