Juergen Posted March 15, 2016 Share Posted March 15, 2016 Hello @ all, I use the new frontend editing of PW3 in some cases. Now I need to reload the page after changes were made in the modal dialog, because some text appear on the page depending on the changes (a lot of if-conditions that show or hide text depending on that changes). After saving the modal only the field which was edited changes. After I press the reload manually I can see all other changes on the page. Is there a way to reload the page automatically after the save button in the modal is pressed? Best regards Jürgen Link to comment Share on other sites More sharing options...
BitPoet Posted March 15, 2016 Share Posted March 15, 2016 From a glimpse into PageFrontEdit.js, I don't think there is, but it might be worth a feature request to let inlineSaveClickEvent fire a custom jquery event on completion. 2 Link to comment Share on other sites More sharing options...
Juergen Posted March 15, 2016 Author Share Posted March 15, 2016 Thanks, my first thought was to use a hook, but I dont know exactly how. So its not a big problem at the moment. Link to comment Share on other sites More sharing options...
BitPoet Posted March 15, 2016 Share Posted March 15, 2016 A hook won't get you far, as frontend editing is done through Ajax calls and any redirect would just redirect the Ajax save request, not reload the whole page. The redirect has to happen in Javascript. Link to comment Share on other sites More sharing options...
bernhard Posted July 25, 2016 Share Posted July 25, 2016 hy jürgen, this might be of interest for you: 1 Link to comment Share on other sites More sharing options...
Juergen Posted July 25, 2016 Author Share Posted July 25, 2016 Thanks @bernhard I am on vacation at the moment , I will take a look when I am back. Link to comment Share on other sites More sharing options...
tpr Posted July 25, 2016 Share Posted July 25, 2016 8 minutes ago, Juergen said:nhard I am on vacation at the moment , I will take a look when I am back. With the awareness of this information, your vacation is over 3 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now