Mercurial > defr > drupal > noderef_view
diff noderef_view.js @ 6:e3f85c9247b7
Put the links in a right sidebar.
This is probably highly controversial and should at least be controlled by a
pref, but its "needed" by the customer.
author | Franck Deroche <franck@defr.org> |
---|---|
date | Mon, 26 Jan 2009 15:09:55 +0100 |
parents | b4c1e3d5d5ce |
children | 281e131cb6c3 |
line wrap: on
line diff
--- a/noderef_view.js Mon Jan 26 14:59:57 2009 +0100 +++ b/noderef_view.js Mon Jan 26 15:09:55 2009 +0100 @@ -3,6 +3,7 @@ * Attach the noderef_view behavior. */ Drupal.behaviors.noderef_view = function(context) { + $('.noderef-view-wrapper div[id$="-wrapper"]:first-child').addClass('noderef-view-items'); $('.noderef_view_link', context).each(function(i, obj) { $(obj).addClass('noderef_view_link_processed').click(function() { // Get the wrapper