Skip to content

Commit c39b19a

Browse files
authored
UI_action.js
This is the UI action script which is calling UI page on any form which has work notes or comments
1 parent 76ba1c9 commit c39b19a

File tree

1 file changed

+12
-0
lines changed
  • Client-Side Components/UI Pages/Edit Last WorkNotes

1 file changed

+12
-0
lines changed
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
function callme() {
2+
var dialog = new GlideModal("edit_comment_inc");
3+
4+
//Set the dialog title
5+
dialog.setTitle('Edit last comment');
6+
dialog.setPreference('incid', g_form.getUniqueValue());
7+
//Set the dialog width
8+
dialog.setWidth(550);
9+
10+
//Display the modal
11+
dialog.render();
12+
}

0 commit comments

Comments
 (0)