equal
deleted
inserted
replaced
47 /* FIXME - don't forget to add the popcorn messages handlers there */ |
47 /* FIXME - don't forget to add the popcorn messages handlers there */ |
48 } |
48 } |
49 |
49 |
50 IriSP.LayoutManager.prototype.createDiv = function() { |
50 IriSP.LayoutManager.prototype.createDiv = function() { |
51 var newDiv = Popcorn.guid(this._div + "_widget_"); |
51 var newDiv = Popcorn.guid(this._div + "_widget_"); |
52 this._widgets.push(newDiv); |
52 this._widgets.push(newDiv); |
53 this.selector.append("<div id='" + newDiv + "' style='width: 100%'></div"); |
53 |
|
54 var templ = "<div id='{{id}}' style='width: 100%; position: relative;'></div"; |
|
55 var txt = Mustache.to_html(templ, {id: newDiv}); |
|
56 this.selector.append(txt); |
54 |
57 |
55 return newDiv; |
58 return newDiv; |
56 }; |
59 }; |