start
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
start [12/30/2024 06:07] – [Buttons] johnsonjohn | start [12/30/2024 07:02] (current) – johnsonjohn | ||
---|---|---|---|
Line 34: | Line 34: | ||
</ | </ | ||
+ | ===Assign To Me Button=== | ||
+ | < | ||
+ | //Credit to: https:// | ||
+ | |||
+ | //Onclick: runClientCode(); | ||
+ | // | ||
+ | |||
+ | // | ||
+ | function runClientCode(){ | ||
+ | g_form.setMandatory(" | ||
+ | //Call the UI Action and skip the ' | ||
+ | gsftSubmit(null, | ||
+ | }//Code that runs without ' | ||
+ | //Ensure call to server-side function with no browser errors | ||
+ | if(typeof window == ' | ||
+ | runBusRuleCode(); | ||
+ | |||
+ | // | ||
+ | function runBusRuleCode(){ | ||
+ | current.assigned_to = gs.getUserID(); | ||
+ | current.update(); | ||
+ | action.setRedirectURL(current); | ||
+ | } | ||
+ | |||
+ | </ | ||
---- | ---- | ||
- | ======My Code====== | + | ======Welcome to S N F====== |
=====NON UTIL USER===== | =====NON UTIL USER===== | ||
< | < |
start.1735567640.txt.gz · Last modified: 12/30/2024 06:07 by johnsonjohn