I am using the prototype 'new Ajax.Request' object for a simple data
retrieval operation.  Works fine.  To tell the user what is going on
(the retrieval takes a second or 2), i stuck a simple window popup
(that says 'wait..') right before the request and then just closed it
when the request completes.

I have tried a few different ways to generate the popup -

1 - using the std window.open to open an empty window and then writing
the message w/ document.write

2 - using the std window.open to open a url containing the message

3 - using some code that uses the prototype extend.

It does not matter: whatever I use causes the following to occur:

1 - the popup is transparent and does not contain the text it is
supposed to

2 - when the popup closes I get the following javascript error in
Firefox 1.5.0.11

Error: uncaught exception: [Exception... "Component returned failure
code: 0x80004005 (NS_ERROR_FAILURE)
[nsIObserverService.removeObserver]"  nsresult: "0x80004005
(NS_ERROR_FAILURE)"  location: "JS frame :: chrome://browser/content/browser.js
:: BrowserShutdown :: line 869"  data: no]

Works fine in IE 6 and Opera

Any guidance on what is happening will be appreciated.  Thanks!


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Spinoffs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to