| author | hamidouk |
| Fri, 21 Oct 2011 17:26:44 +0200 | |
| branch | popcorn-port |
| changeset 122 | 04bd1e2f9674 |
| parent 121 | 607f481ef4c3 |
| child 123 | 58bb8ccea9a8 |
| src/js/widgets.js | file | annotate | diff | comparison | revisions |
--- 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); } };