Author: jablko
Date: Thu Sep 24 12:49:25 2009
New Revision: 3500

Log:
Use $(location.hash) instead of $(':target') to work around inconsistent 
behavior of $(':target') between Firefox 3.5 and 3.0, 
http://groups.google.com/group/jquery-en/browse_thread/thread/4dae82a920288744, 
fixes issue 954

Modified:
   trunk/plugins/sfDrupalPlugin/web/vendor/drupal/misc/collapse.js

Modified: trunk/plugins/sfDrupalPlugin/web/vendor/drupal/misc/collapse.js
==============================================================================
--- trunk/plugins/sfDrupalPlugin/web/vendor/drupal/misc/collapse.js     Thu Sep 
24 12:45:33 2009        (r3499)
+++ trunk/plugins/sfDrupalPlugin/web/vendor/drupal/misc/collapse.js     Thu Sep 
24 12:49:25 2009        (r3500)
@@ -52,7 +52,7 @@
 
 Drupal.behaviors.collapse = {
   attach: function(context) {
-    $('fieldset.collapsible:target', context).removeClass('collapsed');
+    $(location.hash, context).removeClass('collapsed');
 
     $('fieldset.collapsible > legend:not(.collapse-processed)', 
context).each(function() {
       var fieldset = $(this.parentNode);

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Qubit Toolkit Commits" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.ca/group/qubit-commits?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to