CRM-12571 fix
authorPratik Joshi <pratik.joshi@webaccess.co.in>
Fri, 10 May 2013 08:45:47 +0000 (14:15 +0530)
committerPratik Joshi <pratik.joshi@webaccess.co.in>
Fri, 10 May 2013 08:45:47 +0000 (14:15 +0530)
templates/CRM/Admin/Form/Setting/Mapping.tpl

index 5d26174fd2357bdbfa96bf2dade635a4277883a0..dc138c70dbc2011131cdd5166d09e24f480bd05c 100644 (file)
@@ -54,9 +54,9 @@
 </div>
 {literal}
 <script type="text/javascript">
-showHideMapAPIkey( cj('#mapProvider').val( ) );
-showHideGeoAPIkey( cj('#geoProvider').val( ) );
-
+cj(function() {
+  showHideMapAPIkey( cj('#mapProvider').val( ) );
+});
 function showHideMapAPIkey( mapProvider ) {
   if ( mapProvider && ( mapProvider == 'OpenStreetMaps' ) ) {
     cj('#Mapping tr.crm-map-form-block-mapAPIKey').hide( );