Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I have a view with enabled Ajax. It sorts materials like i want without page reloading.
I use number UP/Down widget, and it works as it should - votes count without page refresh, but when i choose another(no default) sort option (ajax call), votes begin to count with refreshing the whole page.
Anyway to fix it?
Comments
Comment #1
Lostrace CreditAttribution: Lostrace commentedComment #2
Lostrace CreditAttribution: Lostrace commentedComment #3
rooby CreditAttribution: rooby commentedIs your problem definitely related to the widget type?
Or is it that ajax voting works until you have used views ajax, then it breaks?
Comment #4
rooby CreditAttribution: rooby commentedIf the latter it could be the same as #2075665: Rate breaks views with ajax on
Comment #5
rooby CreditAttribution: rooby commentedDo you have any javascript errors in your browser when the ajax fails?
Comment #6
rooby CreditAttribution: rooby commentedI think this is a duplicate of #2102571: drupal_add_js() call turns basePath string into array.
If you try the patch in that issue could you please report back there whether or not it fixes your problem.