1. 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

Discussion in 'Closed Suggestions' started by RichardKYA, Feb 7, 2016.

  1. RichardKYA

    RichardKYA Well-Known Member

    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.


    Screen Shot 2016-02-07 at 17.58.38.jpg


    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
  2. Amaury

    Amaury Well-Known Member

    You can also just click on the thread title in the breadcrumbs to get back. Seems superfluous to me.
  3. Chris D

    Chris D XenForo Developer Staff Member

    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.
    Amaury likes this.
  4. RichardKYA

    RichardKYA Well-Known Member

    That's fair enough @Chris D, I've added my own now anyway (y)

Share This Page