File: ctools/js/dependent.js

--- a/js/dependent.js
+++ b/js/dependent.js
@@ -14,7 +14,7 @@
  * - Checkboxes don't have their own id, so you need to add one in a div
  *   around the checkboxes via #prefix and #suffix. You actually need to add TWO
  *   divs because it's the parent that gets hidden. Also be sure to retain the
- *   'expand_checkboxes' in the #process array, because the CTools process will
+ *   'form_process_checkboxes' in the #process array, because the CTools process will
  *   override it.
  */

See:
https://drupal.org/node/224333#rebuild_functions

Comments

damienmckenna’s picture

Version: 7.x-1.3 » 7.x-1.x-dev
Status: Needs review » Active

Please only change the issue status to "Needs review" if you're uploading a patch. Thanks.

bhide.nishad’s picture

Assigned: Unassigned » bhide.nishad

Creating patch for the given code snippet.

bhide.nishad’s picture

Assigned: bhide.nishad » Unassigned
Status: Active » Needs review
StatusFileSize
new877 bytes

Updated the file by renaming the process function from expand_checkboxes to form_process_checkboxes.
Please find the attached patch file.

chris matthews’s picture

The 3 year old patch to dependent.js applied cleanly to the latest ctools 7.x-1.x-dev, but still needs to be reviewed and tested.

joelpittet’s picture

Status: Needs review » Fixed
Parent issue: » #3178697: Plan for CTools 7.x-1.18 release

Thanks for the docs update! Committed to dev branch

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.