Fix for member photo upload with location turned off.
* Plugin Name: GLM Members Database
* Plugin URI: http://www.gaslightmedia.com/
* Description: Gaslight Media Members Database.
- * Version: 2.10.8
+ * Version: 2.10.9
* Author: Gaslight Media
* Author URI: http://www.gaslightmedia.com/
* License: GPL2
* @package glmMembersDatabase
* @author Chuck Scott <cscott@gaslightmedia.com>
* @license http://www.gaslightmedia.com Gaslightmedia
- * @version 2.10.8
+ * @version 2.10.9
*/
// Check that we're being called by WordPress.
*
*/
-define('GLM_MEMBERS_PLUGIN_VERSION', '2.10.8');
+define('GLM_MEMBERS_PLUGIN_VERSION', '2.10.9');
define('GLM_MEMBERS_PLUGIN_DB_VERSION', '1.1.32');
// Check if plugin version is not current in WordPress option and if needed updated it
(none)
== Changelog ==
+= 2.10.9 =
+* Fix issue where the code for google map was being called when locations for
+ members were turned off.
+
= 2.10.8 =
* Fixing map issues when loading the map in member edit info page.
* Fixing undefined references in "File Download" area.
{include file='admin/member/header.html'}
-
<script src="//maps.googleapis.com/maps/api/js?&key={$settings.google_maps_api_key}"></script>
<script type="text/javascript">var enableDraggable = true;</script>
/*
* Map Display Toggle
*/
-/*
+/*
$("#locationMapToggle").click(function() {
var mapC = "#locationMapContainer";
var map = "#locationMap";
// Assign it to the lat/lon fields for submission
$('#glmLat').val(glmLat.toFixed(6));
$('#glmLng').val(glmLng.toFixed(6));
-
+
glmPageUpdateRequired();
});
checkLiveCamType();
// Initialize map on load
+ {if $settings.memb_info_location}
initMap();
+ {/if}
});
</script>