RDN-1159
1

Profile Settings Issue

Scott on 9/9/2015 3:28 PM

Scott on 1/11/2016 6:13 AM

%
(hrs)
Logged

0 (hrs)


 Description

The links don't work for the Profile > Settings.

When I click on a tab in the Profile > Settings, it should put that hash tag in the URL.

  1. Go to Profile > Settings
  2. Click on Notifications.
  3. #Notifications should be appended in the URL.
  4. Click on Mobile, #Mobile should be appended in the URL.

When I go to the URL https://league.rdnation.com/member/settings#Notifications, the page should open with the Notifications tab.  Same thing for all the other tabs.

Skip Navigation Links
 

Scott Tuesday, December 08, 2015 2:36 AM #

It seems that you don't understand Javascript too well.  Is that true?

Please review and fix the comments here:

https://bitbucket.org/rdnation/rdnation/commits/77e6e792663cdc1a2d969adcd2525a152f68a680

 

Scott Friday, November 27, 2015 4:54 AM #

how are you doing on this update?

 

Scott Monday, November 23, 2015 2:47 PM #

Please put this code into the MemberViewModel.js file.

+ $(document).ready(function () { + $("#myTabs li a").bind("click", function (e) { + var href = $(this).attr('href'); + $("#tabs").load(href); + window.location.hash = href; + e.preventDefault(); + }); + if (window.location.hash != "") { + $('#myTabs li a[href="' + window.location.hash + '"]').click() + } + });

 

Scott Thursday, October 15, 2015 8:54 PM #

When I click on a tab, I need you to add that link to the URL of the page. 

When I go to the settings page, when a # sign and ID are in the URL, that tab needs to be shown.

Does that make sense?

 

Pradeep Sunday, October 11, 2015 7:08 AM #

Scott, Its link working fine but due to Profile>Settings Tab toggling (hide and show) it does not make the URL, however it make the required URL on hover.


Powered by BugNET 1.6.339.0