xowiki::FormPage instproc www-toggle-modebutton (public)

 <instance of xowiki::FormPage[i]> www-toggle-modebutton

Defined in /var/www/openacs.org/packages/xowiki/tcl/xowiki-www-procs.tcl

AJAX called function, called via POST. The function toggles the state of a button in the backend. The client provides the name of the button as form field named "button". If none is provided, the button is named as default "admin"

Testcases:
No testcase defined.
[ show source ]
Show another procedure: