| branch | popcorn-port |
| changeset 122 | 04bd1e2f9674 |
| parent 114 | eda061f1aa75 |
| child 124 | 2758dfb208b2 |
--- a/src/js/widgets.js Fri Oct 21 17:25:52 2011 +0200 +++ b/src/js/widgets.js Fri Oct 21 17:26:44 2011 +0200 @@ -10,8 +10,8 @@ this._config = config; this._serializer = Serializer; - if (config.hasOwnProperty("divId")) { - this._id = config.divId; + if (config.hasOwnProperty("gui") && config.gui.hasOwnProperty("container")) { + this._id = config.gui.container; this.selector = IriSP.jQuery("#" + this._id); } };