• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Not planned Add "Cancel" button to thread edit page

RichardKYA

Well-known member
#1
In the inline edit overlay there is a "Cancel" button, but if you click "More Options" which redirects you to the full edit page with a few more options, there is no "Cancel" button.

Overlay...

Screen Shot 2016-02-07 at 17.58.38.jpg

Page...

Screen Shot 2016-02-07 at 17.59.08.jpg

I know user's can click "Back" on their browser, but I think it would just be easier to have a "Cancel" button in the page, plus it will be consistent with the Overlay.

Thank you
 

Chris D

XenForo developer
Staff member
#3
Well, the use case is pretty different, so there's no real need to make them consistent.

An overlay requires a clear indication of how to back out because in this case pressing the back button would take you out of the thread completely which isn't desirable.

The exclusion of the cancel button everywhere else is actually explicit; in the templates which load in an overlay, they can theoretically be rendered in a normal page, too (such as if you open the link in a new tab), we explicitly give the button a special "OverlayOnly" class in most cases which would make the button only show when rendered inside an overlay.

Everywhere else the navigation would be done by using the browser's back button, or even better the breadcrumb navigation. Obviously there's no breadcrumb on the overlay so that's another reason why the cancel button is required there.

As such, I can't see the need for this.