ThomasTheDane / course-builder

Automatically exported from code.google.com/p/course-builder
0 stars 0 forks source link

In-page anchors not working #79

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Go to a lesson
2. Insert an anchor and an anchor tag
ex. <a href="#gceshoppingpreso">some text</a>
<id="gceshoppingpreso">
3. Save

What is the expected output? What do you see instead?
When I click on "Some Text", I expect the page to jump down to my anchor. 
Instead, it is re-loading the page and jumping to the home page. 

Linking to an anchor in Course Builder is only working when I insert the full 
link such as <a 
href="https://gbo-onboarding.googleplex.com/SMB_Sandbox/unit?unit=91&lesson=92#g
ceshoppingpreso">some text</a>

The bad thing about this is that it reloads the page.

What version of the product are you using? On what operating system?
CB 1.6 (PeopleDev customized version)
OS 10.10.3

Please provide any additional information below.

Original issue reported on code.google.com by sba...@google.com on 23 Jun 2015 at 9:36

GoogleCodeExporter commented 9 years ago
I realized I put my id tag incorrectly in this Bug, however, I am doing it 
correctly in Course Builder. Please try to put an in-page anchor and let me 
know if it is user error or a bug. Thanks so much.

Original comment by sba...@google.com on 23 Jun 2015 at 9:41