Skip to content
Closed

Prompt #1519

Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prompt
  • Loading branch information
saidinesh123 authored Oct 28, 2024
commit f431544b4bc09ace2e514311a325b19bc8e977d3
6 changes: 6 additions & 0 deletions GlideModal/Prompt
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
var gm = new GlideModal("glide_prompt", true, 600);
gm.setTitle("Test title");
gm.setPreference("title", "Test body text");
gm.setPreference("onPromptComplete", function(value) {alert("You clicked on 'Ok', value was: "+value)});
gm.setPreference("onPromptCancel", function(value) {alert("You clicked on 'Cancel', value was: "+value)});
gm.render();
Loading