equal
deleted
inserted
replaced
62 var newDiv = IriSP.guid(this._div + "_widget_" + widgetName + "_"); |
62 var newDiv = IriSP.guid(this._div + "_widget_" + widgetName + "_"); |
63 var spacerDiv = IriSP.guid("LdtPlayer_spacer_"); |
63 var spacerDiv = IriSP.guid("LdtPlayer_spacer_"); |
64 this._widgets.push([widgetName, newDiv]); |
64 this._widgets.push([widgetName, newDiv]); |
65 |
65 |
66 var divTempl = "<div id='{{id}}' style='width: {{width}}px; position: relative; clear: both;'></div"; |
66 var divTempl = "<div id='{{id}}' style='width: {{width}}px; position: relative; clear: both;'></div"; |
67 var spacerTempl = "<div id='{{spacer_id}}' style='width: {{width}}px; position: relative; height: {{spacer_div_height}};'></div"; |
67 var spacerTempl = "<div id='{{spacer_id}}' style='width: {{width}}px; position: relative; height: {{spacer_div_height}}px;'></div"; |
68 |
68 |
69 var divCode = Mustache.to_html(divTempl, {id: newDiv, width: this._width}); |
69 var divCode = Mustache.to_html(divTempl, {id: newDiv, width: this._width}); |
70 var spacerCode = Mustache.to_html(spacerTempl, {spacer_id: spacerDiv, width: this._width, |
70 var spacerCode = Mustache.to_html(spacerTempl, {spacer_id: spacerDiv, width: this._width, |
71 spacer_div_height: IriSP.widgetsDefaults.LayoutManager.spacer_div_height }); |
71 spacer_div_height: IriSP.widgetsDefaults.LayoutManager.spacer_div_height }); |
72 |
72 |