: 'application/json';
print $::form->create_http_response(content_type => $content_type,
- charset => $::lx_office_conf{system}->{dbcharset} || Common::DEFAULT_CHARSET());
+ charset => 'UTF-8');
}
}
L<SL::Request/is_ajax>. If it is a normal request then it outputs a
standard HTTP redirect header (HTTP code 302). If it is an AJAX
request then it outputs an AJAX response suitable for the
-C<eval_json_result> function from the L<SL::ClientJS> module.
+C<kivi.eval_json_result> function from the L<SL::ClientJS> module.
=item C<run_before $sub, %params>
future value C<none> (which would require no authentication but is not
yet implemented).
-=item C<keep_auth_vars_in_form>
+=item C<keep_auth_vars_in_form %params>
May be overridden by a controller. If falsish (the default) all form
variables whose name starts with C<{AUTH}> are removed before the
request is routed. Only controllers that handle login requests
themselves should return trueish for this function.
+C<$params{action}> contains the action name that the request will be
+dispatched to.
+
=item C<controller_name>
Returns the name of the curernt controller package without the