summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEarl Miles2011-04-20 23:29:46 (GMT)
committer Earl Miles2011-04-20 23:29:46 (GMT)
commit9adf2c12403fe36b3fe0f5b0e86c1eb25132916e (patch)
tree9ae82bf3beee8132c7fe08a455c43a2f0ef22c49
parent4549279c9bf84dcfb824a8b55b103a8ff1f61069 (diff)
Issue #1129632 by dereine: Fix documentation of ctools-auto-submit for D7 classes.
-rw-r--r--js/auto-submit.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/js/auto-submit.js b/js/auto-submit.js
index d85a7c4..4a80f79 100644
--- a/js/auto-submit.js
+++ b/js/auto-submit.js
@@ -7,19 +7,19 @@
* On gadgets you want to auto-submit when changed, add the ctools-auto-submit
* class. With FAPI, add:
* @code
- * '#attributes' => array('class' => 'ctools-auto-submit'),
+ * '#attributes' => array('class' => array('ctools-auto-submit')),
* @endcode
*
* If you want to have auto-submit for every form element,
* add the ctools-auto-submit-full-form to the form. With FAPI, add:
* @code
- * '#attributes' => array('class' => 'ctools-auto-submit-full-form'),
+ * '#attributes' => array('class' => array('ctools-auto-submit-full-form')),
* @endcode
*
* Finally, you have to identify which button you want clicked for autosubmit.
* The behavior of this button will be honored if it's ajaxy or not:
* @code
- * '#attributes' => array('class' => 'ctools-use-ajax ctools-auto-submit-click'),
+ * '#attributes' => array('class' => array('ctools-use-ajax', 'ctools-auto-submit-click')),
* @endcode
*
* Currently only 'select' and 'textfield' types are supported. We probably