In mysite.com/node in latest article list links add to queue/remove from queue works as normal links (click to link fire page refresh).

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

havran’s picture

This patch work for me.

yched’s picture

Issue summary: View changes
Status: Active » Reviewed & tested by the community

nodequeue.js looks quite outdated (the links behavior should be attached using Drupal.behaviors, use jquery once() insetad of manual *-processed classes, there are a couple unused vars...)

But the patch here does work as a quickfix.

fizk’s picture

What are the steps to reproduce this?

fizk’s picture

Status: Reviewed & tested by the community » Postponed (maintainer needs more info)
yched’s picture

@fizk:
On node/[nid], in the "links" section of the node template, nodequeue adds links to add/remove the node from the queue.

Those links are supposed to be ajax links (add/remove the node in an Ajax request without redirecting the whole page) - see the supporting code in nodequeue.js.

But that JS code is outdated and doesn't actually work, so the links act as "regular links" and redirect the browser.
The fix is quite simple, see the patch.

That's a fairly big UX regression, those ajax links on nodes are a major interaction point fro adding content to the queues.

yched’s picture

Status: Postponed (maintainer needs more info) » Reviewed & tested by the community

Back to RTBC

  • fizk committed 4f70ca8 on 7.x-2.x authored by havran
    Issue #1965376 by havran: AJAX links not working
    
fizk’s picture

Status: Reviewed & tested by the community » Fixed

Excellent. Committed, thanks!

Status: Fixed » Closed (fixed)

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