Make currently browsed widget available for console playing as window.wb_widget

This commit is contained in:
Nathan Gray 2013-04-16 18:48:06 +00:00
parent 0ae58e39de
commit b66a74ff03

View File

@ -108,7 +108,7 @@ widget_browser.prototype.select_widget = function(e,f)
var attrs = {};
this.widget = et2_createWidget(type, attrs, this.et2.widgetContainer);
window.wb_widget = this.widget = et2_createWidget(type, attrs, this.et2.widgetContainer);
this.widget.loadingFinished();
// Attribute list