- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-23-2015 09:37 AM
Have written a simple code section in the UI Macro to call the gsftsubmit, not sure why its not calling the UI action.
in a further debug in chrome it seems to be calling the gsftSubmit function of SN and going till f.submit() but doesn't gets into UI Action.
For a simple debug just wrote gs.log in ui action.
<script> | |||||
function moveTo(str) | |||||
{ | |||||
alert('moveTo 1'); | |||||
//var form = document.getElementById("change_request.do"); | |||||
var form = gel("change_request.do"); | |||||
gsftSubmit(null, form, 'ss_move_to'); | |||||
//gsftSubmit(null, form, 'sysverb_update'); | |||||
alert('moveTo 2'); | |||||
} | |||||
</script> |
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-25-2015 08:49 AM
Thanks all for your kind replies and time got the issue it was nothing wrong in the way the code was written.
Sometime we devs are bit impatient the old code was cached not sure for some reason. cache.do helped
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-23-2015 04:19 PM
Make sure Action name is exactly same as you put into your gsftSubmit function.
and I think it should look more like this: gsftSubmit(null, g_form.getFormElement(), 'sysverb_update');
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-24-2015 11:52 PM
Nope i am using the right name. But just wondering that gsftsubmit is all good in Fuji as it was before.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-25-2015 12:25 AM
This is working ?
g_form.setValue('description', 'This is from the Client Script.');
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-25-2015 08:55 AM
yes this works