X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=roojs-core-debug.js;h=eefc151b4ce66acc86a5adac097e4e99ec57ac64;hb=c8a96293dde3056f89fee34282adb05a35dba08c;hp=85f064d9ab8bdb1860010002b8c768e845978061;hpb=d25d547a4152cce8a3e52c9dd5187b12df6acb31;p=roojs1 diff --git a/roojs-core-debug.js b/roojs-core-debug.js index 85f064d9ab..eefc151b4c 100644 --- a/roojs-core-debug.js +++ b/roojs-core-debug.js @@ -16634,6 +16634,10 @@ Roo.apply(Roo.XComponent, { */ overlayStrings : function( component, strings ) { + if(typeof(component) == 'undefined') { + throw "ERROR: component undefined"; + } + if (typeof(component['_named_strings']) == 'undefined') { throw "ERROR: component does not have _named_strings"; }