We've added a custom dashboard to our project. The dashboard connects to some Api's that I've written (inheriting from UmbracoAuthorizedApiController)
Everything works fine and there is no errors anywhere, but when I want to change the page, the popup box with "You have unsaved changes" message shows up.
What are we missing? How Umbraco detects that there is a change on the page?
Thanks for the reply. I tried adding noDirtyCheck on the controller but it didn't work. :( but thanks to your answer I've found another link and did it on the input level and it worked fine :)
Thanks for this, we have been struggling with a similar problem, where a change is saved to content but you cannot exit the page and move to another one in the list until you have re saved the change.
"You have unsaved changes" in custom dashboard
We've added a custom dashboard to our project. The dashboard connects to some Api's that I've written (inheriting from UmbracoAuthorizedApiController)
Everything works fine and there is no errors anywhere, but when I want to change the page, the popup box with "You have unsaved changes" message shows up.
What are we missing? How Umbraco detects that there is a change on the page?
You can disable this by using the noDirtyCheck directive.
This is included these days in Umbraco itself but an old post can be found at http://nathanw.com.au/blog/suppressing-dirty-checking-in-umbraco-dashboard-inputs/
Hope this helps,
Richard
Hi Richard,
Thanks for the reply. I tried adding noDirtyCheck on the controller but it didn't work. :( but thanks to your answer I've found another link and did it on the input level and it worked fine :)
Thank you very much
Thanks for this, we have been struggling with a similar problem, where a change is saved to content but you cannot exit the page and move to another one in the list until you have re saved the change.
is working on a reply...