/[drupal]/contributions/modules/activeselect/activeselect.js
ViewVC logotype

Log of /contributions/modules/activeselect/activeselect.js

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Links to HEAD: (view) (download) (as text) (annotate)
Sticky Tag:

Revision 1.17.2.1 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Apr 9 14:43:33 2007 UTC (2 years, 7 months ago) by bdragon
Branch: DRUPAL-4-7
Changes since 1.17: +9 -9 lines
Diff to previous 1.17 , to next main 1.20
Whitespace nits

Revision 1.18.2.2 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Apr 9 14:38:50 2007 UTC (2 years, 7 months ago) by bdragon
Branch: DRUPAL-5
Changes since 1.18.2.1: +2 -2 lines
Diff to previous 1.18.2.1 , to branch point 1.18 , to next main 1.20
Rolling the option creation back to the 4.7 way, which apparently works better.

Revision 1.20 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Apr 9 14:36:58 2007 UTC (2 years, 7 months ago) by bdragon
Branch: MAIN
CVS Tags: HEAD
Changes since 1.19: +2 -2 lines
Diff to previous 1.19
Rolling the option creation back to the 4.7 way, which apparently works better.

Revision 1.18.2.1 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Apr 8 04:43:16 2007 UTC (2 years, 7 months ago) by bdragon
Branch: DRUPAL-5
Changes since 1.18: +2 -2 lines
Diff to previous 1.18
#129027 by WRXIzumi:
Fix options for IE.
Patch sponsored by leftrightminds.com

I cleaned it up a little. No need to keep track of the index, just use push.

Revision 1.19 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Apr 8 04:42:42 2007 UTC (2 years, 7 months ago) by bdragon
Branch: MAIN
Changes since 1.18: +2 -2 lines
Diff to previous 1.18
#129027 by WRXIzumi:
Fix options for IE.
Patch sponsored by leftrightminds.com

I cleaned it up a little. No need to keep track of the index, just use push.

Revision 1.18 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Jan 5 15:57:53 2007 UTC (2 years, 10 months ago) by jaza
Branch: MAIN
CVS Tags: DRUPAL-5--1-0
Branch point for: DRUPAL-5
Changes since 1.17: +82 -73 lines
Diff to previous 1.17
- #104478 by myself: update activeselect module to Drupal 5.

Revision 1.17 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Apr 14 15:07:50 2006 UTC (3 years, 7 months ago) by jaza
Branch: MAIN
CVS Tags: DRUPAL-4-7--1-0
Branch point for: DRUPAL-4-7
Changes since 1.16: +8 -5 lines
Diff to previous 1.16
#58463 by yched: options not getting selected by default for single-selects in IE6.

Revision 1.16 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Apr 9 05:11:52 2006 UTC (3 years, 7 months ago) by jaza
Branch: MAIN
Changes since 1.15: +66 -98 lines
Diff to previous 1.15
- Changed theme_activeselect() to use _form_set_class() instead of _form_get_class() (the latter function has been removed from Drupal core).
- #57929: use JSON instead of pipe delimiters for AJAX response text. Activeselect now uses drupal_to_js() (on the PHP end) and parseJson() (on the JS end) for response text, and this has allowed a large amount of pipe-parsing code to be removed from the Activeselect JS library. API.txt has been updated to reflect this, and category_activeselect() has been updated to use the new API.
- New activeselect_explode_values() function, which does the work of turning the request string into a PHP array. API.txt and category_activeselect() have been updated with this function.

Revision 1.15 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Mar 29 12:51:48 2006 UTC (3 years, 8 months ago) by jaza
Branch: MAIN
Changes since 1.14: +21 -6 lines
Diff to previous 1.14
- #55129: categories with multiple distant parents get duplicated in admin listings.
- #56026: multiple parents not saved when using activeselect. Turned out that this problem could be solved entirely by patching activeselect, rather than by patching category (the Form API processes select data as an array if the name of the element has '[]' brackets on the end - so activeselect now appends and removes '[]' characters from a target element's name dynamically).
- Changed the activeselect API to use '|selected' notation, instead of the '#' notation, to indicate selected elements.

Revision 1.14 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Mar 29 09:15:52 2006 UTC (3 years, 8 months ago) by jaza
Branch: MAIN
Changes since 1.13: +2 -2 lines
Diff to previous 1.13
Multi-select target elements now display as such.

Revision 1.13 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Mar 28 13:23:35 2006 UTC (3 years, 8 months ago) by jaza
Branch: MAIN
Changes since 1.12: +11 -6 lines
Diff to previous 1.12
Changed the activeselect API, so that the 'multiple' attribute is defined more cleanly, at the end of the target name, rather than as a 'fake option element'.
Note: I experimented with various ways to solve #56026 purely by changing the JS, but was unsuccessful. It seems that a multi-select element with 'multiple="multiple"' defined, absolutely cannot be turned into a single-select, using JS (even removing it with removeAttribute() and removeAttributeNode() had no effect).

Revision 1.12 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Mar 18 02:09:36 2006 UTC (3 years, 8 months ago) by jaza
Branch: MAIN
Changes since 1.11: +9 -9 lines
Diff to previous 1.11
#54504 by yched: remove trailing spaces.

Revision 1.11 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Mar 17 09:39:08 2006 UTC (3 years, 8 months ago) by jaza
Branch: MAIN
Changes since 1.10: +7 -5 lines
Diff to previous 1.10
#54409: prototype library compatibility patch.

Revision 1.10 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Mar 15 09:13:37 2006 UTC (3 years, 8 months ago) by jaza
Branch: MAIN
Changes since 1.9: +112 -73 lines
Diff to previous 1.9
- #53941: Activeselect elements now support multiple targets (category updated to work with this).
- #54050: move to new DB install system (category and all related modules).
- #54032: 'node type' DB field too short.

Revision 1.9 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Mar 13 21:53:04 2006 UTC (3 years, 8 months ago) by jaza
Branch: MAIN
Changes since 1.8: +0 -0 lines
Diff to previous 1.8
#53647: Fixed up IE problem with activeselect. Activeselect and category now working fine in IE. Also fixed help text in category_views.

Revision 1.8 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Mar 12 13:02:54 2006 UTC (3 years, 8 months ago) by jaza
Branch: MAIN
Changes since 1.7: +21 -4 lines
Diff to previous 1.7
Cascading activeselect now working much better in IE. However, no matter what I do, the whole activeselect thing completely stuffs up after the first page load in IE (doesn't work properly again until you close and re-open IE).

Revision 1.7 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Mar 11 09:30:40 2006 UTC (3 years, 8 months ago) by jaza
Branch: MAIN
Changes since 1.6: +9 -1 lines
Diff to previous 1.6
Recursive / cascading activeselect containers now working properly! Change the value of one activeselect, and it will trigger a change in another one, which will trigger another one, etc. This is the coolest thing EVER - I could play with it all day! Note: still buggy in IE6, but fine in FF.

Revision 1.6 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Mar 11 07:19:08 2006 UTC (3 years, 8 months ago) by jaza
Branch: MAIN
Changes since 1.5: +8 -7 lines
Diff to previous 1.5
AJAX-enabled category select now available for assigned node forms!
- If a container is an allowed distant parent for any other container on the same node form, that container is displayed as an activeselect form element.
- Only categories with distant parents in the source container are affected, so it is possible for multiple activeselects to share the same target (not yet tested).
- Recursive / cascading activeselect containers are now possible (still a bit buggy).

Revision 1.5 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Feb 19 06:28:52 2006 UTC (3 years, 9 months ago) by jaza
Branch: MAIN
Changes since 1.4: +7 -1 lines
Diff to previous 1.4
Added some function comments to JS.

Revision 1.4 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Feb 19 06:18:16 2006 UTC (3 years, 9 months ago) by jaza
Branch: MAIN
Changes since 1.3: +43 -10 lines
Diff to previous 1.3
- IE fixes: the width of the target select element now gets dynamically set (by altering its style.width attribute using JS), to stop IE from giving it a width of 0; and new options are created using 'new Option()' rather than 'appendChild()', because IE6 refuses to display option text if the latter method is used.
- Style sheet and throbber image (copied from core /misc directory) added.
- Throbber now works properly in FF (but not visible in IE).

Revision 1.3 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Feb 18 06:36:21 2006 UTC (3 years, 9 months ago) by jaza
Branch: MAIN
Changes since 1.2: +3 -3 lines
Diff to previous 1.2
Fixed bug with changing multi-select boxes to single-select boxes.

Revision 1.2 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Feb 18 04:22:39 2006 UTC (3 years, 9 months ago) by jaza
Branch: MAIN
Changes since 1.1: +9 -1 lines
Diff to previous 1.1
Added support for changing a select box to single- or multi-select, and for remembering the originally selected element, using AJAX.

Revision 1.1 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Feb 18 03:17:26 2006 UTC (3 years, 9 months ago) by jaza
Branch: MAIN
Initial commit of activeselect module.

This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, select a symbolic revision name using the selection box, or choose 'Use Text Field' and enter a numeric revision.

  Diffs between and
  Type of Diff should be a

Sort log by:

  ViewVC Help
Powered by ViewVC 1.1.2