Commit cac400af authored by Richard Mansfield's avatar Richard Mansfield
Browse files

Added get_ajaxpost() method

parent dfcb9949
...@@ -466,6 +466,15 @@ class Form { ...@@ -466,6 +466,15 @@ class Form {
return $this->method; return $this->method;
} }
/**
* Is the form being submitted by ajax?
*
* @return bool
*/
public function get_ajaxpost() {
return $this->ajaxpost;
}
/** /**
* Returns the renderer used on to render the form * Returns the renderer used on to render the form
* *
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment