Skip to content

Edit widget cancel shouldn't cause the 'widgetConfigChanged' event #140

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 22, 2015

Conversation

mono-software
Copy link

I think that widgetConfigChanged should be broadcasted only when Apply was clicked in edit widget mode. Currently a lot of unnecessary refreshing is happening when cancel is clicked. It's also consistent with how the whole dashboard edit mode behaves - the 'adfDashboardChanged' is only happening when 'save changes' is clicked, it's not happening when 'undo changes' is clicked.

@sdorra sdorra added the bug label Sep 22, 2015
@sdorra sdorra self-assigned this Sep 22, 2015
sdorra added a commit that referenced this pull request Sep 22, 2015
Edit widget cancel shouldn't cause the 'widgetConfigChanged' event
@sdorra sdorra merged commit 3bb887f into angular-dashboard-framework:master Sep 22, 2015
@sdorra
Copy link
Member

sdorra commented Sep 22, 2015

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants