Download & Extend

"Back to Top - Leave blank to have no link" isn't true

Project:Frequently Asked Questions
Version:6.x-1.8
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

When leaving the "Back to top" field empty, there is still a link printed to the page. It's a blank link (an <a> tag with no content), but a link nonetheless. This is particularly a problem when there are no other links, because Drupal outputs the entire node links div with nothing in it.

Here's a quick patch which should fix the problem.

AttachmentSize
faq_btt_killer.patch727 bytes

Comments

#1

Whoop. That last patch didn't work.

This one works.

AttachmentSize
faq_btt_killer2.patch 1.11 KB

#2

Status:patch (to be ported)» fixed

Committed, thanks!

#3

Status:fixed» closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

#4

Released in faq 6.x-1.9 and 5.x-2.13.