Skip to content
This repository was archived by the owner on May 29, 2019. It is now read-only.

modal - ability to set windowClass after it'd been opened #1175

Closed
fxck opened this issue Oct 17, 2013 · 4 comments
Closed

modal - ability to set windowClass after it'd been opened #1175

fxck opened this issue Oct 17, 2013 · 4 comments

Comments

@fxck
Copy link

fxck commented Oct 17, 2013

Use case is.. You open a modal, it shows a "checking.." with an ajax request running, which then it returns true or false, if true, you want to show a big red warning modal, if false, you just want to show a standard white modal.

So I'd need to be able to set windowClass to, say, "warning". Which is currently kind of impossible(or is it?).

It would be nice if there was a setWindowClass() function which could be called on $modalInstance what do you think?

@czjvic
Copy link

czjvic commented Nov 7, 2013

+1

@fxck
Copy link
Author

fxck commented Nov 7, 2013

https://gist.github.com/fxck/7355187

you can call setWindowClass() on $modalInstance, it also includes #1179

@rvanbaalen
Copy link
Contributor

Closing due to inactivity.

@karianna
Copy link
Contributor

This was actually fixed by #1179

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants