I was able to successfully install a plugin using XPInstall, but
unfortunately the installation does not refresh the pluging once it is
done. I have to manually reload the page where the installation took
place in order to be able to start using the plugin. This defeats the
whole purpose of using XPInstall in the first place....

Not sure what is going wrong, I get a status == 0 condition right, but
the plugin is just not available until I refresh:


function cbInstall(url,status){
        if( status == 0 ) {
                alert(status);
                                myFunction();
        } else {
                   msg = "XPInstall Test:   FAILED\n";
                   dump(msg);
                   salert(msg);
        }



}


The function above goes to myFunction() as expected after the
installation. But the plugin is not available until we refresh.

Has anybody run into this problem ?

_______________________________________________
dev-embedding mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-embedding

Reply via email to