From: Chuck Scott Date: Mon, 29 Feb 2016 20:43:51 +0000 (-0500) Subject: Updated drop_database script that had not been updated. X-Git-Tag: v2.0.0^2~65 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=cc4ff2a514b0c3114c8b27ca2838b2fb35718ea2;p=WP-Plugins%2Fglm-member-db.git Updated drop_database script that had not been updated. --- diff --git a/setup/databaseScripts/drop_database_V1.0.43.sql b/setup/databaseScripts/drop_database_V1.0.43.sql deleted file mode 100644 index d77cfee1..00000000 --- a/setup/databaseScripts/drop_database_V1.0.43.sql +++ /dev/null @@ -1,35 +0,0 @@ --- Gaslight Media Members Database --- File Created: 12/09/14 15:27:15 --- Database Version: 1.0.43 --- Database Deletion Script --- Note: Tables with DELETE CASCADE must appear before referenced table - -DROP TABLE IF EXISTS - {prefix}accommodation_types, - {prefix}accommodations, - {prefix}accounts, - {prefix}activities, - {prefix}amenities, - {prefix}amenity_ref, - {prefix}category_member_info, - {prefix}cities, - {prefix}contacts, - {prefix}facilities, - {prefix}files, - {prefix}golf, - {prefix}images, - {prefix}locations, - {prefix}meals, - {prefix}members, - {prefix}member_info, - {prefix}member_type, - {prefix}regions, - {prefix}restaurant_types, - {prefix}restaurants, - {prefix}settings_general, - {prefix}settings_terms, - {prefix}social_media, - {prefix}social_media_ref, - {prefix}categories -; - diff --git a/setup/databaseScripts/drop_database_V1.1.0.sql b/setup/databaseScripts/drop_database_V1.1.0.sql new file mode 100644 index 00000000..d25b6528 --- /dev/null +++ b/setup/databaseScripts/drop_database_V1.1.0.sql @@ -0,0 +1,22 @@ +-- Gaslight Media Members Database +-- File Created: 12/09/14 15:27:15 +-- Database Version: 1.0.43 +-- Database Deletion Script +-- Note: Tables with DELETE CASCADE must appear before referenced table + +DROP TABLE IF EXISTS + {prefix}amenities, + {prefix}amenity_ref, + {prefix}category_member_info, + {prefix}cities, + {prefix}contacts, + {prefix}images, + {prefix}members, + {prefix}member_info, + {prefix}member_type, + {prefix}regions, + {prefix}settings_general, + {prefix}settings_terms, + {prefix}categories +; + diff --git a/views/admin/management/index.html b/views/admin/management/index.html index 74c892cd..c8045011 100644 --- a/views/admin/management/index.html +++ b/views/admin/management/index.html @@ -398,12 +398,14 @@ // If submit is required and we're laving the page, alert the user $(window).bind('beforeunload', function() { if (glmSubmitRequired) { - return 'Are you sure you want to leave?'; +alert(1); + var message = 'Are you sure you want to leave?'; + e.returnValue = message; + return message; } - return ''; + return; }); - });