Closed
Bug 187639
Opened 23 years ago
Closed 23 years ago
javascript prompts in bookmarks don't work the first time.
Categories
(SeaMonkey :: Bookmarks & History, defect)
Tracking
(Not tracked)
RESOLVED
WORKSFORME
People
(Reporter: rosser, Assigned: bugs)
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.3a) Gecko/20021212
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.3a) Gecko/20021212
Bookmarks whose location is a javascript prompt are non-responsive the first
time they're used: the insertion cursor never appears and the edit box doesn't
appear to receive focus. Cancelling out of the prompt dialog and clicking the
bookmark again brings up a correctly-working prompt dialog.
Reproducible: Always
Steps to Reproduce:
1. Create a bookmark whose location is a javascript prompt function. For
example, I have a google button in my personal toolbar whose location is
"javascript:q=prompt('Search
for:','');if(q)location.href='http://www.google.com/search?q='+escape(q);"
2. Click on the bookmark just created.
3. Try to enter something into the prompt dialog's edit field.
4. Cancel out and click on the bookmark again; it should work this time.
Actual Results:
The prompt dialog's text field didn't have an insertion cursor and wouldn't
receive focus the first time. Cancelling out of the dialog brings up a text page
with the word "null". Clicking the link again brings up a prompt dialog with an
insertion cursor in the the text box.
Expected Results:
Bring up a functional prompt dialog the first time.
This appears only to happen using the "modern" theme; it doesn't occur with
"classic" set.
Comment 1•23 years ago
|
||
I have tested this using
Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4b) Gecko/20030502
and it works for me. (both classic and modern)
Reporter could you please retest with a more recent build and see if the
problem persist. If not please resolve this bug as works-for-me
| Reporter | ||
Comment 2•23 years ago
|
||
Now works correctly using Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.3)
Gecko/20030410. I no longer have a Windows system on which to test later versions.
Status: UNCONFIRMED → RESOLVED
Closed: 23 years ago
Resolution: --- → WORKSFORME
Updated•21 years ago
|
Product: Browser → Seamonkey
You need to log in
before you can comment on or make changes to this bug.
Description
•