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

Fixed error when clicking 'Templates' after swapping styles

Discussion in 'Resolved Bug Reports' started by Jake Bunce, Dec 10, 2010.

  1. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    On my test forum I often create a new style to quickly remove custom stuff from previous testing. I have discovered a minor quirk when doing this.

    FF 3.6.13
    OS X 10.6.5

    1) Go to:

    Admin CP -> Appearance -> Templates

    2) Now create a new style:

    Admin CP -> Appearance -> Styles -> Create New Style

    3) Now set the new style to default and delete the old style:

    Admin CP -> Appearance -> Styles

    4) Now click the 'Templates' link in the left column:

    Admin CP -> Appearance -> Templates

    You get this:

    Screen shot 2010-12-10 at 10.30.59 AM.png

    In debug mode it loads the templates for the master style instead of showing the error.
  2. Mike

    Mike XenForo Developer Staff Member

    I've further extended the code to prevent this from happening.

Share This Page