Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix for multiple custom queries #116

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

fix for multiple custom queries #116

wants to merge 1 commit into from

Conversation

ant7
Copy link

@ant7 ant7 commented May 6, 2014

Check to see if queries is a property of the urlOptions object, before
deleting the current input from the query. Without this check, the
script was throwing an Uncaught TypeError: "Cannot convert undefined or
null to object" when all the following conditions were met:

  1. there is more than one custom queries
  2. there is none currently in use
  3. the user tries to use any, but the first one found by the selector in
    the dom (when using the first one found by the selector, the problem
    doesn't appear).

Seems to be related with this issue:
#73

Check to see if queries is a property of the urlOptions object, before
deleting the current input from the query.  Without this check, the
script was throwing an Uncaught TypeError: "Cannot convert undefined or
null to object" when all the following conditions were met:
1. there is more than one custom queries
2. there is none currently in use
3. the user tries to use any, but the first one found by the selector in
the dom (when using the first one found by the selector, the problem
doesn't appear).

Seems to be related with this issue:
#73
@GiamPy5
Copy link

GiamPy5 commented Jan 11, 2015

Merge this please. Tested it myself and it fixes the issue.

@saiqulhaq
Copy link

+1

eddieferrer added a commit to eddieferrer/mazamas_climbs that referenced this pull request Jul 11, 2015
@JangoSteve
Copy link
Member

👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants