* Plugin Name: GLM Members Database Contacts
* Plugin URI: http://www.gaslightmedia.com/
* Description: Gaslight Media Members Database.
- * Version: 1.1.10
+ * Version: 1.1.11
* Author: Gaslight Media
* Author URI: http://www.gaslightmedia.com/
* License: GPL2
* @package glmMembersDatabaseContacts
* @author Gaslight Media <cscott@gaslightmedia.com>
* @license http://www.gaslightmedia.com Gaslightmedia
- * @version 1.1.10
+ * @version 1.1.11
*/
// Check that we're being called by WordPress.
* version when there's a change in the database!! Use the
* version nunmber of that release for the DB version.
*/
-define('GLM_MEMBERS_CONTACTS_PLUGIN_VERSION', '1.1.10');
+define('GLM_MEMBERS_CONTACTS_PLUGIN_VERSION', '1.1.11');
define('GLM_MEMBERS_CONTACTS_PLUGIN_DB_VERSION', '0.0.3');
// This is the minimum version of the GLM Members DB plugin require for this plugin.
{if $contactMembers}
{foreach $contactMembers as $m}
<option value="{$m.id}" data-idCheck="{$m.idCheck}"{if isset($m.selected) && $m.selected} selected{/if}>
- {$m.name}
- </div>
+ {$m.name}
+ </div>
{/foreach}
{/if}
</select>
$('#contactMembersSelection').on('change', function() {
var toMember = $(this).val();
var idCheck = $('#contactMembersSelection option:selected').attr('data-idCheck');
-
+
// Send AJAX action to update selected member
$.ajax({
url: "{$ajaxUrl}?action=glm_members_admin_ajax&glm_action=selectContactMember&member=" + toMember + "&idCheck=" + idCheck
})
.done(function() {
- window.location.replace("{$thisUrl}?page={$thisPage}&glm_action=index&option=edit");
+ // Redirect the member to the dashboard
+ window.location.replace("{$thisUrl}?page=glm-members-admin-menu-member");
});
});