Lost password form fix for members only
authorLaury GvR <laury@gaslightmedia.com>
Fri, 23 Feb 2018 16:17:00 +0000 (11:17 -0500)
committerLaury GvR <laury@gaslightmedia.com>
Fri, 23 Feb 2018 16:17:00 +0000 (11:17 -0500)
There was a bit of script needed to show the lost password form.

assets/javascript/glm-dev.js
glm-dev/js/glm-dev.js

index 1eac76d..0529d28 100644 (file)
@@ -1 +1 @@
-jQuery(function($){function createSticky(e){if(void 0!==e){var i=e.offset().top,n=$(window);n.on("scroll",function(){n.scrollTop()>=i?e.addClass("fixed"):e.removeClass("fixed")})}}$("ul.children").each(function(){$(this).before('<a class="toggle" href="#"></a>')}),$("a.toggle").click("click",function(){$(this).toggleClass("open"),$(this).siblings("ul").toggleClass("open")}),$(".top-bar-section").find("ul.sub-menu.dropdown").each(function(){var menuImg=$(this).parent("li").prop("id"),menuNum=menuImg.match(/\d+/)[0],menuImgSrc="img_for_menu_"+menuNum;window["img_for_menu_"+menuNum]?$(this).find("li.image-placeholder").html('<img src="'+eval(menuImgSrc)+'">'):($(this).find("li.image-placeholder").parent("ul").addClass("no-image-subul"),$(this).find("li.image-placeholder").remove())}),$(".top-bar").fadeIn("slow",function(){});var body=$("body"),submenu=$(body).find("#top-menu-right").find(".dropdown-image").find("ul");createSticky($(".sticky-container"))});
\ No newline at end of file
+jQuery(function($){function createSticky(e){if(void 0!==e){var i=e.offset().top,n=$(window);n.on("scroll",function(){n.scrollTop()>=i?e.addClass("fixed"):e.removeClass("fixed")})}}$("ul.children").each(function(){$(this).before('<a class="toggle" href="#"></a>')}),$("a.toggle").click("click",function(){$(this).toggleClass("open"),$(this).siblings("ul").toggleClass("open")}),$(".top-bar-section").find("ul.sub-menu.dropdown").each(function(){var menuImg=$(this).parent("li").prop("id"),menuNum=menuImg.match(/\d+/)[0],menuImgSrc="img_for_menu_"+menuNum;window["img_for_menu_"+menuNum]?$(this).find("li.image-placeholder").html('<img src="'+eval(menuImgSrc)+'">'):($(this).find("li.image-placeholder").parent("ul").addClass("no-image-subul"),$(this).find("li.image-placeholder").remove())}),$(".top-bar").fadeIn("slow",function(){});var body=$("body"),submenu=$(body).find("#top-menu-right").find(".dropdown-image").find("ul");createSticky($(".sticky-container")),$("#glm-member-password-lost-link").click(function(){$("#glm-member-password-lost-form").show()})});
\ No newline at end of file
index 1b9b2ab..eb9ae86 100644 (file)
@@ -58,4 +58,8 @@ jQuery(function($){
     //     ).appendTo( $(this) );
     // })
     
+    $('#glm-member-password-lost-link').click(function() {
+        $('#glm-member-password-lost-form').show();
+    });
+    
 });
\ No newline at end of file