Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/CoreHome/angularjs/ajax-form/ajax-form.directive.js')
-rw-r--r--plugins/CoreHome/angularjs/ajax-form/ajax-form.directive.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/CoreHome/angularjs/ajax-form/ajax-form.directive.js b/plugins/CoreHome/angularjs/ajax-form/ajax-form.directive.js
index 2eef346ec6..8199451334 100644
--- a/plugins/CoreHome/angularjs/ajax-form/ajax-form.directive.js
+++ b/plugins/CoreHome/angularjs/ajax-form/ajax-form.directive.js
@@ -16,7 +16,7 @@
*
* This directive accepts the following attributes:
*
- * - **save-api-method**: **required** The Piwik API method that handles the POST request.
+ * - **submit-api-method**: **required** The Piwik API method that handles the POST request.
* - **send-json-payload**: Whether to send the data as a form encoded URL or to send it as JSON.
* If sending as JSON, the payload will still be a form encoded value,
* but will contain a JSON object like `{data: {...form data...}}`.
@@ -39,7 +39,7 @@
* Usage:
*
* <div piwik-ajax-form
- * save-api-method="'MyPlugin.myFormSaveMethod'"
+ * submit-api-method="'MyPlugin.myFormSaveMethod'"
* send-json-payload="true"
* ng-model="myFormData">
*