Jump to content

What is the Api call for plugins to alert the screen?


chef

Recommended Posts

chef

I noticed when a session has ended in the dashboard and you attempt to "back-page" in your browser, the web client will produce an alert on the screen which says something like:  "Session no longer available" or "Session not found", or something along those lines.

 

What is the Api call in javascript to produce that alert in the middle of the screen?

 

Thanks again,

 

Ben

Edited by chef
Link to comment
Share on other sites

  • 3 weeks later...
chef

If anyone else comes across this, you can create a "popup" <div> and then call it on a button press.

 

But the button has to be an link , with the "href" pointing to the "popup div"  with a "#", add these data-roles: 'data-transition="pop" data-rel="popup"'

 

the 'popup div" has to have some class types added: ' data-role="popup" '

 

seems to work :)

Link to comment
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...