@schneideress/dashboardframework 0.0.255 → 0.0.257

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -280,6 +280,12 @@
280
280
  /**To Update widgetInfo in database */
281
281
  RaDashboardService.prototype.updateWidget = function (widgetInfo, appConfig) {
282
282
  this.baseUrl = appConfig.apiBaseUrl;
283
+ var info = {};
284
+ info.widgetConfigInfo = widgetInfo.widgetConfigInfo;
285
+ info.widgetInstanceId = widgetInfo.widgetInstanceId;
286
+ info.widgetTitle = widgetInfo.widgetTitle;
287
+ info.widgetType = widgetInfo.widgetType;
288
+ info.widgetId = widgetInfo.widgetId;
283
289
  return this.post('widget/UpdateUserWidget', widgetInfo);
284
290
  };
285
291
  /** To Move or change position if current widget container*/
@@ -407,7 +413,7 @@
407
413
  var GridsterConfigDefaultSettings = {
408
414
  gridType: 'scrollVertical',
409
415
  compactType: 'none',
410
- margin: 10,
416
+ margin: 0,
411
417
  outerMargin: true,
412
418
  outerMarginTop: 10,
413
419
  outerMarginRight: 0,