MarkE Posted February 9, 2019 Share Posted February 9, 2019 For iPad users, when editing in the back end in a modal, after saving, the display seems to stay at the bottom of the modal, so the close icon is not evident. In this case (and more generally, too, I think) it would be helpful to have a cancel/close/continue button (ideally text would depend on state) at the bottom of the modal, next to the publish/save button. I'm sure there must be a simple way of adding this, but I can't see how. Link to comment Share on other sites More sharing options...
Zeka Posted February 10, 2019 Share Posted February 10, 2019 @MarkE Hi. I think that it's should be possible to add additional buttons with needed data attributes with a hook to ProcessPageEdit::buildForm. There you can see different options for data attributes https://github.com/processwire/processwire/blob/master/wire/modules/Jquery/JqueryUI/modal.js#L18 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