Jump to content

Window to Modal to Window and back again


Recommended Posts

I am attempting to do an app structure where I have an admin page so users can add custom settings. The idea is pretty simple from the main app window have an admin button which activates > an admin modal which in turn has a button that takes > you to a settings window. User makes changes and close settings window and back > to admin modal.
So far all I have accomplished is opening and closing an admin modal, unable to get to the next step of navigating to a window than back to modal.

Link to post
Share on other sites

That is the only way to change a window style is to create a new window and close the old window. 

YOu may be better served using a CARD window style vs a MODAL. 

Link to post
Share on other sites

Ok. I found a solution. Button to card window, button on card opens new dialog window which launches a card window in that, button on new card window opens new dialog window which launches card window in that. So card window on card window on card window the 2nd two sitting in empty new dialog windows. Closing was the challenging part. Script contains 2 steps. step one - close window non specific, step two - close window but specifying the new dialog by name this closes to second card window. this also has the same close script which closes to the first card window and that has a simple close script. and back to layout we left in the first place.

Link to post
Share on other sites

Seems clunky and way too much work.  I would just have buttons that change the layout and back in the card window, with buttons for save & cancel.

Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.