Ajax bookmarking don't work
I'm using Vanilla 1.1.4 and I've noticed every option in the side panel, like deleting, closing, making sticky or sinking a discussion, acts immediately, "AJAX-like". However, this doesn't happen with bookmarking. With the other options, after confirming, I can see the [Sticky] (and the like) text besides the discussion title, but this doesn't happen wen I bookmark them. If I go to discussions, I see it bookmarked, and if I enter the discussion again, I see it [Bookmarked] too. So bookmarking itself works, but it doesn't work "AJAX-like".
I've taken a look at the code, first of all I thought this was "a feature" (that is, it wasn't programmed to work this way), but after looking inside /js/vanilla.js and realizing there are javascript functions related to this (SetBookmark, ApplyBookmark, BookmarkComplete and BookmarkFailed), I think this may be a bug. Unfortunately, I'm not the best one with javascript, appart from the fact that the code is ofuscated and it makes it a bit more complicated to understand.
So any light on this will be greatly appreciated ;)
0
This discussion has been closed.
Comments