var idx = this.find_index(url);
if (idx>-1) {
this.node.selectedIndex = idx;
+ return this.node.childNodes[idx];
} else {
- this.new_iframe(url,params,content_params);
+ return this.new_iframe(url,params,content_params);
}
'reset_iframe' : function (url,params,content_params) {
this.remove_iframe(url);
- this.new_iframe(url,params,content_params);
+ return this.new_iframe(url,params,content_params);
},
'new_iframe' : function (url,params,content_params) {
dump('E: ' + E + '\n');
}
}
+ return iframe;
},
'remove_iframe' : function (url) {