
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2019 08:57 PM
Hi,
I have a UI Action that uses g_navigation.openPopup.
But somehow whenever i click near the UI Action it will always open or trigger my UI Action.
Here is my Script:
function onclick(){
var url = "/com.glideapp.servicecatalog_cat_item_view.do?v=1&sysparm_id=88938e66db0100104694e04a4896191a";
g_navigation.openPopup(url);
}
is this a known issue for servicenow?
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2019 09:04 PM
Hi
Can you try changing the action name from onclick to something else in the ui action?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2019 09:04 PM
Hi
Can you try changing the action name from onclick to something else in the ui action?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2019 09:12 PM
you mean changing the function name?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2019 09:13 PM
Hi Tadz,
Yes try changing the onclick function name, also post the screenshot of the Ui Action.
Regards
Omkar Mone

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2019 09:13 PM
It worked!
I just change the function name from onClick to something else.
Thanks a lot 🙂