Log of /contributions/modules/hierarchical_select/hierarchical_select.js
Parent Directory
|
Revision Log
|
Revision Graph
Revision
1.89 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Sat Mar 14 18:29:35 2009 UTC
(8 months, 1 week ago)
by
wimleers
Branch:
MAIN
Changes since
1.88: +21 -30 lines
Diff to
previous 1.88
Take better advantage of Drupal.behaviors to do the heavy lifting and prevent transformations from happening twice.
Revision
1.86 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Tue Feb 10 15:47:42 2009 UTC
(9 months, 1 week ago)
by
wimleers
Branch:
MAIN
Changes since
1.85: +38 -4 lines
Diff to
previous 1.85
Fixed #355226, patch sponsored by Peytz & Co: HS + Node clone compatibility and making HS more informative when an error occurs
Revision
1.78 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Fri Sep 19 16:49:29 2008 UTC
(14 months ago)
by
wimleers
Branch:
MAIN
Changes since
1.77: +7 -5 lines
Diff to
previous 1.77
The size the user resized to wasn't properly being maintained when #size > 1 and an update of the HS was triggered.
Revision
1.75 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Fri Sep 19 14:56:03 2008 UTC
(14 months ago)
by
wimleers
Branch:
MAIN
Changes since
1.74: +6 -1 lines
Diff to
previous 1.74
Prevent JS error in the resizable code when creating a new item (it shouldn't run, because no selects are present).
Revision
1.66 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Sun Jul 20 10:58:18 2008 UTC
(16 months ago)
by
wimleers
Branch:
MAIN
Changes since
1.65: +14 -2 lines
Diff to
previous 1.65
Implemented #284724: Force update on all Hierarchical Selects with the same hierarchy when an item is created
Revision
1.64 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Sun Jul 6 22:25:15 2008 UTC
(16 months, 2 weeks ago)
by
wimleers
Branch:
MAIN
Changes since
1.63: +21 -8 lines
Diff to
previous 1.63
- New: you can now pass extra information that will be POSTed when you trigger the 'enforce-update' event.
-New: a 'disable-updates' event. When you trigger this event, you can handle updates of HS yourself.
The combination of these 2 features allows you to use a *different* form item to influence the presented hierarchy!
Revision
1.60 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Sat Jun 28 01:20:50 2008 UTC
(16 months, 4 weeks ago)
by
wimleers
Branch:
MAIN
Changes since
1.59: +2 -2 lines
Diff to
previous 1.59
Fixed detection of last unchanged select, upon which the animations and some subtle UX tweaks are based.
Revision
1.53 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Thu May 8 19:43:21 2008 UTC
(18 months, 2 weeks ago)
by
wimleers
Branch:
MAIN
Changes since
1.52: +7 -2 lines
Diff to
previous 1.52
New 'enforce update' event binding and 'enforced update' event triggering, to allow for even richter interactions.
Revision
1.51 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Mon May 5 22:35:36 2008 UTC
(18 months, 2 weeks ago)
by
wimleers
Branch:
MAIN
Changes since
1.50: +4 -4 lines
Diff to
previous 1.50
Not only give focus to the input of a "create new item/level" section, but also select its default value (already happens automatically, now also works in other browsers).
Revision
1.49 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Sat May 3 00:12:24 2008 UTC
(18 months, 3 weeks ago)
by
wimleers
Branch:
MAIN
Changes since
1.48: +9 -4 lines
Diff to
previous 1.48
Fixed regression caused by commit #113898: when either "<none>" or a level label was selected, nothing would happen, while the sublevels should be animated and then removed.
Revision
1.46 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Thu May 1 14:15:22 2008 UTC
(18 months, 3 weeks ago)
by
wimleers
Branch:
MAIN
Changes since
1.45: +7 -2 lines
Diff to
previous 1.45
Reduce the number of callbacks to the server by not doing anything at all when "<none>" or a level label is selected.
Revision
1.40 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Tue Apr 15 21:47:03 2008 UTC
(19 months, 1 week ago)
by
wimleers
Branch:
MAIN
Changes since
1.39: +145 -378 lines
Diff to
previous 1.39
First major feature of HS3. Scalability improvements: stop using a normal select for graceful degradation. More than half the codebase of HS has changed. This required *a lot* of Forms API tricks:
I'm using #process to expand the elements, but unsetting #post to prevent it to override my new #default_values. #after_build to simulate my own form cache (like Drupal 6's Forms API has) and to add a form #submit callback to remove items from this form cache. Setting a value in my #process callback that I use in my element #validate callback to set the proper return value, instead of the values used for internal purposes. And so on.
Revision
1.32 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Sun Feb 17 15:57:14 2008 UTC
(21 months, 1 week ago)
by
wimleers
Branch:
MAIN
Changes since
1.31: +19 -2 lines
Diff to
previous 1.31
Fixed #221210: Multiple select: impossible to remove selections of which the child term has multiple parents
Revision
1.30 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Fri Feb 8 17:38:26 2008 UTC
(21 months, 2 weeks ago)
by
wimleers
Branch:
MAIN
Changes since
1.29: +28 -16 lines
Diff to
previous 1.29
- New: ability to set a root level label when enforce_deepest is enabled.
- Improvement: more consistent use of the "<none>" option, available when: optional, or enforce_deepest is enabled, or multiple select is active and at least one item is selected.
- Improvement: the "<none>" option is now automatically selected as soon as at least one item has been added to the dropbox (even if it's a required form item) – this required changes in the client-server interaction.
- Improvement: more reliable lineage reconstruction algorithm when save_lineage is enabled.
- Improvement: all_option setting now only has effect when multiple select is enabled (minor).
Revision
1.28 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Wed Feb 6 03:29:27 2008 UTC
(21 months, 2 weeks ago)
by
wimleers
Branch:
MAIN
Changes since
1.27: +10 -11 lines
Diff to
previous 1.27
- Improved: Made selection of value 'label_X' trigger similar events as 'all' value: no server query required!
- Improved: animation for the non-server-query options is now different from the "normal" one.
Revision
1.27 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Wed Feb 6 03:01:08 2008 UTC
(21 months, 2 weeks ago)
by
wimleers
Branch:
MAIN
Changes since
1.26: +17 -18 lines
Diff to
previous 1.26
- Improved: Made selection of value 'none' trigger similar events as 'all' value: no server query required!
- Improved: made all cases in the updateOriginalSelect() method use the same $options jQuery element set.
Revision
1.22 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Sat Feb 2 23:27:49 2008 UTC
(21 months, 3 weeks ago)
by
wimleers
Branch:
MAIN
Changes since
1.21: +8 -5 lines
Diff to
previous 1.21
- Fixed: the "none" item in Taxonomy selects would be selected when something was just added to the dropbox. This had no negative side-effects, but has been fixed for the sake of correctness.
- Improved: more usage of the this keyword.
Revision
1.13 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Sat Dec 29 16:31:24 2007 UTC
(22 months, 3 weeks ago)
by
wimleers
Branch:
MAIN
Changes since
1.12: +2 -2 lines
Diff to
previous 1.12
- Added Marmaladesoul as a sponsor to the README.
- Fixed hierarchical_select_get_dropbox(), which didn't work properly if nothing was selected yet.
- Added custom output when the dropbox is empty.
- Fixed a debug leftover in the Javascript.
Revision
1.9 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Sat Dec 29 12:42:56 2007 UTC
(22 months, 3 weeks ago)
by
wimleers
Branch:
MAIN
Changes since
1.8: +81 -37 lines
Diff to
previous 1.8
Remove button has been added. All important features for version 2 of Hierarchical Select are complete now.
Revision
1.8 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Fri Dec 28 17:58:26 2007 UTC
(22 months, 3 weeks ago)
by
wimleers
Branch:
MAIN
Changes since
1.7: +168 -55 lines
Diff to
previous 1.7
Initial multiple select support. The "Remove" button does not yet work though, that's for the next revision.
Revision
1.7 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Tue Dec 25 13:39:30 2007 UTC
(23 months ago)
by
wimleers
Branch:
MAIN
Changes since
1.6: +2 -2 lines
Diff to
previous 1.6
-Added parameter to hook_hierarchical_select_lineage()
-Improved params handling: it now is serialized when sent to Drupal.settings, and unserialized when received in the AHAH request.
-Improved security: added check_plain()'s to _hierarchical_select_render_selects()
-Moved some work from hook_hierarchical_select_lineage() to _hierarchical_select_render()
-Cleaned up string to boolean conversion in AHAH requests by adding a helper function
Revision
1.5 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Mon Dec 24 23:47:43 2007 UTC
(23 months ago)
by
wimleers
Branch:
MAIN
Changes since
1.4: +25 -3 lines
Diff to
previous 1.4
Implemented #189975: Allow the user to choose an item from any level and allow level labels, and much more.
Revision
1.3 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Sun Dec 23 22:50:17 2007 UTC
(23 months ago)
by
wimleers
Branch:
MAIN
Changes since
1.2: +0 -0 lines
Diff to
previous 1.2
Initial commit of my work on version 2 of Hierarchical Select. The API has been simplified a lot, but is still in flux.
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.