diff options
author | Dries Buytaert <dries@buytaert.net> | 2010-02-06 15:00:03 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2010-02-06 15:00:03 +0000 |
commit | bfa877f165669073bbc5d8f88f9a1d60a3fbcd4b (patch) | |
tree | db1d78116fb0a6d6f634f89bf70c5c1b1f5a7304 | |
parent | 25ac9ebe3bd4d532b59a51279b117cefac50d112 (diff) | |
download | brdo-bfa877f165669073bbc5d8f88f9a1d60a3fbcd4b.tar.gz brdo-bfa877f165669073bbc5d8f88f9a1d60a3fbcd4b.tar.bz2 |
- Patch #663126 by casey: active items in top level IA don't have the light gray background when overlay is enabled.
-rw-r--r-- | modules/overlay/overlay-parent.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/overlay/overlay-parent.js b/modules/overlay/overlay-parent.js index ef74e7506..ddac5633f 100644 --- a/modules/overlay/overlay-parent.js +++ b/modules/overlay/overlay-parent.js @@ -773,7 +773,7 @@ Drupal.overlay.hashchangeHandler = function (event) { var linkURL = Drupal.settings.basePath + state; linkURL = $.param.querystring(linkURL, {'render': 'overlay'}); - var path = self.getPath(linkURL); + var path = self.getPath(state); self.resetActiveClass(path); // If the modal frame is already open, replace the loaded document with @@ -893,6 +893,7 @@ Drupal.overlay.refreshRegions = function (data) { */ Drupal.overlay.resetActiveClass = function(activePath) { var self = this; + var windowDomain = window.location.protocol + window.location.hostname; $('.overlay-displace-top, .overlay-displace-bottom') .find('a[href]') @@ -900,7 +901,6 @@ Drupal.overlay.resetActiveClass = function(activePath) { .removeClass('active') // Add active class to links that match activePath. .each(function () { - var windowDomain = window.location.protocol + window.location.hostname; var linkDomain = this.protocol + this.hostname; var linkPath = self.getPath(this); |