ClientJS: AJAX-Form-Submit mit jQuery-Form-Plugin
[kivitendo-erp.git] / SL / ClientJS.pm
index ada199e..204e320 100644 (file)
@@ -80,6 +80,9 @@ my %supported_methods = (
   # Closing and removing the popup
   'dialog:close'         => 1,
 
+  # ## jQuery Form plugin ##
+  'ajaxForm'             => 1, # pattern: $(<TARGET>).ajaxForm({ success: eval_json_result })
+
   # ## jstree plugin ## pattern: $.jstree._reference($(<TARGET>)).<FUNCTION>(<ARGS>)
 
   # Operations on the whole tree