- else {
- this.baseElement.innerHTML = req.responseText;
-
- var scripts = this.baseElement.getElementsByTagName('script');
- for (var i=0 ; i < scripts.length ; i++)
- globalScriptRegistry.loadScript(scripts[i]);
- }
-
- var onAfterPopulate = this.onAfterPopulate;
- if (typeof(onAfterPopulate) == "string") {
- if (console)
- console.warn('Deprecation warning : onAfterPopulate may not be a string (' + onAfterPopulate + ')');
- onAfterPopulate = eval(onAfterPopulate);
- }
- onAfterPopulate();