Fix url encoding issue for modal widgets widgetId
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
parent
fbbba75f81
commit
e3b0bf1915
3 changed files with 8 additions and 3 deletions
|
@ -52,7 +52,7 @@ export class ModalWidgetStore extends AsyncStoreWithClient<IState> {
|
|||
this.openSourceWidgetId = sourceWidgetId;
|
||||
this.modalInstance = Modal.createTrackedDialog('Modal Widget', '', ModalWidgetDialog, {
|
||||
widgetDefinition: {...requestData},
|
||||
sourceWidgetId: sourceWidgetId,
|
||||
sourceWidgetId,
|
||||
onFinished: (success: boolean, data?: any) => {
|
||||
if (!success) {
|
||||
this.closeModalWidget(sourceWidgetId, {
|
||||
|
@ -84,3 +84,5 @@ export class ModalWidgetStore extends AsyncStoreWithClient<IState> {
|
|||
}
|
||||
};
|
||||
}
|
||||
|
||||
window.mxModalWidgetStore = ModalWidgetStore.instance;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue