Skip to content

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