@schneideress/dashboardframework 0.0.105 → 0.0.107

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.
@@ -352,7 +352,7 @@
352
352
  */
353
353
  function (widgetInfo, appConfig) {
354
354
  this.baseUrl = appConfig.apiBaseUrl;
355
- return this.post('widget/DeleteWidgetUser', widgetInfo);
355
+ return this.delete('widget/DeleteWidgetUser?widgetInstanceId=' + widgetInfo.widgetInstanceId);
356
356
  };
357
357
  /**To Update widgetInfo in database */
358
358
  /**
@@ -1769,6 +1769,13 @@
1769
1769
  else
1770
1770
  _this.showPanel = false;
1771
1771
  }));
1772
+ widgetContainer.widgetElement.addEventListener('config-edit-clicked', (/**
1773
+ * @param {?} e
1774
+ * @return {?}
1775
+ */
1776
+ function (e) {
1777
+ widgetContainer.editWidget();
1778
+ }));
1772
1779
  titleLineEnabled = widgetContainer.widgetElement.titleLineEnabled();
1773
1780
  if (typeof (titleLineEnabled) != 'undefined') {
1774
1781
  this.enableTitleLine = titleLineEnabled;