Skip to content

Commit

Permalink
Work for #5455: apply fix for creator
Browse files Browse the repository at this point in the history
  • Loading branch information
dk981234 committed Feb 3, 2023
1 parent 5cccfe8 commit 6bd1d58
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/survey-events-api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ export interface IOnPanelAddedOptions {
parent: PanelModelBase;
index: number;
name: string;
panel: IElement;
panel: PanelModel;
parentPanel: any;
rootPanel: any;
}
Expand Down
2 changes: 1 addition & 1 deletion src/survey.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6462,7 +6462,7 @@ export class SurveyModel extends SurveyElementCore
delete hash[name];
}
}
panelAdded(panel: IElement, index: number, parentPanel: any, rootPanel: any) {
panelAdded(panel: PanelModel, index: number, parentPanel: any, rootPanel: any) {
if (!panel.name) {
panel.name = this.generateNewName(
this.getAllPanels(false, true),
Expand Down

0 comments on commit 6bd1d58

Please sign in to comment.