Popup confirmation with multiple buttons
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-10-2015 01:32 AM
I want to build an Alert once any incident gets resolved.
The popup needs to have confirmation buttons - 'Yes' , 'No' and 'Cancel' .
On click of 'Yes' or 'No' need to do actions on server side.
If i simply put an alert it shows only Ok and Cancel.
Has anyone implemented such confirmation box before?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-11-2015 12:03 PM
Played with the return statement in the client script which calls the Glidedialogwindow to automaticaly route to incident list page.
Able to resolve it finally, thanks for providing your thoughts on this topic, hint to actionName helps while implementing this
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-12-2015 01:16 AM
Finally
Also, please click on the Correct Answer and/or Helpful Answer buttons on the appropriate reply/replies if any and close of the loop. This helps other users to see that a valid response was received.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-12-2015 03:53 AM
Sure, marked
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-18-2015 02:13 AM
There is an issue here..
If the assigned to person to the incident, changes the state to resolved and clicks update/save , the ui page dialog is not called as we are checking the condition for action name to be 'resolve_incident' before calling the glidedialog.
Approach followed :
On click of resolve incident button, the dialog ui page is called, and in the client script within ui page we set the value to resolved and submits the form, which again calls the onsubmit script and skips the dialog box as the actionname gets changed to sysverb_update.
Any idea how to tackle this issue ?