This commit is contained in:
zadam
2020-01-18 18:01:16 +01:00
parent b25c1d6fa8
commit b00a9f4415
12 changed files with 91 additions and 102 deletions

View File

@@ -33,7 +33,7 @@ class StandardWidget extends TabAwareWidget {
//getPosition() { return this.widgetOptions.position; }
render() {
const widgetInstanceId = this.widgetId + "-" + utils.randomString(10);
const widgetInstanceId = this.componentId + "-" + utils.randomString(10);
this.$widget = $(WIDGET_TPL);
this.$widget.find('[data-target]').attr('data-target', "#" + widgetInstanceId);