Skip to content
Snippets Groups Projects
Commit 8afd869a authored by Prasad's avatar Prasad
Browse files

Merge branch 'prega' into 'master'

Fixes #804 - When i try to resize Widget Sale pipeline bug

See merge request !298
parents e7933818 bda3f6b1
No related branches found
No related tags found
No related merge requests found
......@@ -13,11 +13,12 @@
{if count($DATA) gt 0 }
<input class="widgetData" type=hidden value='{Vtiger_Util_Helper::toSafeHTML(ZEND_JSON::encode($DATA))}' />
<input class="yAxisFieldType" type="hidden" value="{$YAXIS_FIELD_TYPE}" />
<div style="margin:0px 10px;">
<div>
<div class="row" style="margin:0px 10px;">
<div class="col-lg-11">
<div class="widgetChartContainer" name='chartcontent' style="height:220px;min-width:300px; margin: 0 auto"></div>
<br>
</div>
<div class="col-lg-1"></div>
</div>
{else}
<span class="noDataMsg">
......
......@@ -332,6 +332,7 @@ Vtiger.Class("Vtiger_DashBoard_Js",{
if(widgetChartContainer.length > 0){
widgetChartContainer.css("height",widget.height() - 60);
}
widgetChartContainer.html('');
Vtiger_Widget_Js.getInstance(widget, widgetName);
widget.trigger(Vtiger_Widget_Js.widgetPostResizeEvent);
thisInstance.saveWidgetSize(widget);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment