src/js/widgets.js
branchpopcorn-port
changeset 287 5c7495102bd7
parent 170 5150ae56e0a6
child 520 fe008e95a716
--- a/src/js/widgets.js	Mon Nov 21 10:51:42 2011 +0100
+++ b/src/js/widgets.js	Mon Nov 21 11:34:07 2011 +0100
@@ -15,6 +15,12 @@
      this.selector = IriSP.jQuery("#" + this._id);
   }
 
+  if (config.hasOwnProperty("spacer")) {
+     this._spacerId = config.spacer;
+     this.spacer = IriSP.jQuery("#" + this._spacerId);
+  }
+
+
   if (config.hasOwnProperty("width")) {
      // this.width and not this._width because we consider it public.
      this.width = config.width;