#172 new

Revised Search Prototype API

Reported by Neaox | October 4th, 2010 @ 10:05 AM

The Current "Search Prototype API" has a bug in that if you click the bookmarklet and then click the cancel button in the dialog the browser window goes to a blank white page displaying only the word "null", at least this is the behavior in firefox in IE upon clicking the bookmarket it imediately displays the white page with the word "null". Below is revised code that prevents this, when the user clicks cancel they remain on the page they were on. I also edited the if statement as different browsers can return different values when cancel is clicked, I also removed some unneeded '%20' or whitespace characters.


Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Shared Ticket Bins

People watching this ticket