ui_actions
Differences
This shows you the differences between two versions of the page.
| ui_actions [12/30/2024 06:57] – created johnsonjohn | ui_actions [12/30/2024 06:58] (current) – johnsonjohn | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| =====UI ACTIONS===== | =====UI ACTIONS===== | ||
| + | ---- | ||
| + | |||
| + | ====Assign To Me ==== | ||
| + | < | ||
| + | //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); | ||
| + | } | ||
| + | |||
| + | </ | ||
| ---- | ---- | ||
ui_actions.1735570657.txt.gz · Last modified: by johnsonjohn
