Closed (fixed)
Project:
Search API ajax
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
7 Nov 2012 at 17:55 UTC
Updated:
2 Mar 2014 at 12:30 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
Anonymous (not verified) commentedCan you review this patch is working?
Comment #2
Anonymous (not verified) commentedRight patch attached.
Comment #3
Anonymous (not verified) commentedCommitted to devx.
http://drupalcode.org/project/search_api_ajax.git/commit/b8b9d27
Comment #5
multpix commentedhi!
latest dev
after clicking on the checkbox, i see #path= in string URL (half a second)
but then still occurs reload page
and without # in URL
Comment #6
multpix commentedthis behavior is different from clicking on the link
how to fix?
many thanks ))
Comment #7
makangus commentedSame problem as @multpix here.
Comment #8
Anonymous (not verified) commentedWhat happens is that Facetapi has its own jQuery trigger already active, and we try to disable it by (see patch #2):
Apparently this unbind does not work? So it triggers both actions, therefore reloads the page. We just need to find out how to correctly unbind the facetapi jquery action.
Comment #9
gigabates commentedAs far as I can see the syntax of unbind method is correct, but it's being called before facet_api has added its click handler and there is nothing to unbind yet. To correct this we would need to adjust the weight when attaching the JavaScript file so its attach method is called after facet_api's.
Comment #10
pix_ commentedHere a patch for the unbinding issue. I've added the Drupal.search_api_ajax.ajax in a behaviour so it's fired not only once, at the page load.
Comment #11
Anonymous (not verified) commentedCommitted unbinding issue to dev-x,
http://drupalcode.org/project/search_api_ajax.git/commit/c6ba4a8