[Project_owners] datasource observer

Michael Vincent mv_van_rantwijk at yahoo.com
Wed Sep 28 00:58:07 EDT 2005


Jeroen Groenenboom wrote:
> I'd like to have one observer of the bookmarks datasource for all opened 
> windows. I tried:
> 
> if( opener ) {
> // only rootwindow has no opener
>    bmhBookmarksObserver = opener.bmhBookmarksObserver;
> }
> else {
>    bmhAddBookmarksObserver();
> }
> 
> Unfortunately, the observer still dies when the root window is closed. 
> Hope someone can help,
> Jeroen

The magic word here is hidden window ;)

Michael


More information about the Project_owners mailing list