Skip to content
Snippets Groups Projects
Commit 0ece2124 authored by http://druler.com's avatar http://druler.com
Browse files

Issue #1064448 by GiorgosK, kndr, nclavaud: Fixed support gmap location cck...

Issue #1064448 by GiorgosK, kndr, nclavaud: Fixed support gmap location cck vertical tabs - HACK to correctly render gmap location cck in vertical tab.
parent 64e74944
No related branches found
No related tags found
No related merge requests found
...@@ -387,6 +387,7 @@ Drupal.gmap.addHandler('gmap', function (elem) { ...@@ -387,6 +387,7 @@ Drupal.gmap.addHandler('gmap', function (elem) {
map.setCenter(new google.maps.LatLng(obj.vars.latitude, obj.vars.longitude), obj.vars.zoom); map.setCenter(new google.maps.LatLng(obj.vars.latitude, obj.vars.longitude), obj.vars.zoom);
}; };
jQuery(elem).parents('fieldset.collapsible').children('legend').children('a').click(r); 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. // Would be nice, but doesn't work.
//$(elem).parents('fieldset.collapsible').children('.fieldset-wrapper').scroll(r); //$(elem).parents('fieldset.collapsible').children('.fieldset-wrapper').scroll(r);
}, 0); }, 0);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment