Commit 73f7b692ca09359712402d3682ba96933bcc336c
1 parent
595bd840
add formatter for WEB_Action_Name as javascript argument. This is means the surr…
…ounded with simple quote.
Showing
1 changed file
with
17 additions
and
0 deletions
Show diff stats
web/CXM_web_action.anubis
| @@ -74,3 +74,20 @@ public define String | @@ -74,3 +74,20 @@ public define String | ||
| 74 | + | 74 | + |
| 75 | format_extra_operands(extra_ops) | 75 | format_extra_operands(extra_ops) |
| 76 | . | 76 | . |
| 77 | + | ||
| 78 | +public define String | ||
| 79 | + format_web_action_name_to_js | ||
| 80 | + ( | ||
| 81 | + WEB_Action_Name action, | ||
| 82 | + List((String,String)) extra_ops, | ||
| 83 | + )= | ||
| 84 | + "'"+format_web_action_name(action, extra_ops)+"'" | ||
| 85 | +. | ||
| 86 | + | ||
| 87 | +public define String | ||
| 88 | + format_web_action_name_to_js | ||
| 89 | + ( | ||
| 90 | + WEB_Action_Name action | ||
| 91 | + )= | ||
| 92 | + format_web_action_name_to_js(action, []) | ||
| 93 | +. |