From 1a4ac4223ac82ed41c9cccd9a39034b1dd3f245e Mon Sep 17 00:00:00 2001
From: Andriy Podanenko <podarok@ua.fm>
Date: Wed, 30 Jan 2013 20:55:03 +0200
Subject: [PATCH] Issue #1901654 by podarok | Alan D.: Fixed Panel Tabs
 support.

---
 js/gmap.js | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/js/gmap.js b/js/gmap.js
index cc7331a..d583f3f 100644
--- a/js/gmap.js
+++ b/js/gmap.js
@@ -388,7 +388,8 @@ Drupal.gmap.addHandler('gmap', function (elem) {
         };
         jQuery(elem).parents('fieldset.collapsible').children('legend').children('a').click(r);
         jQuery('.vertical-tab-button', jQuery(elem).parents('.vertical-tabs')).children('a').click(r);
-        // Would be nice, but doesn't work.
+        jQuery(window).bind('hashchange', r);
+	// Would be nice, but doesn't work.
         //$(elem).parents('fieldset.collapsible').children('.fieldset-wrapper').scroll(r);
       }, 0);
     }
-- 
GitLab