gecko-dev/webtools/addons/js/install.js
mike.morgan%oregonstate.edu 3eeb4ba91e install include.
2005-07-19 00:23:24 +00:00

15 lines
401 B
JavaScript

function install( aEvent, extName, iconURL) {
var p = new XMLHttpRequest();
p.open("GET", "/core/install.php?uri="+aEvent.target.href, false);
p.send(null);
var params = new Array();
params[extName] = {
URL: aEvent.target.href,
IconURL: iconURL,
toString: function () { return this.URL; }
};
InstallTrigger.install(params);
return false;
}