Bug 834810 - Launching webapp from homescreen icon will revert the icon to the default 'rocket' r=bnicholson

This commit is contained in:
Mark Finkle 2013-01-28 19:14:44 -05:00
parent 61c2e809aa
commit c686c6892d

View File

@ -77,19 +77,6 @@ let WebAppRT = {
// Otherwise, see if the apps launch path is this url
if (manifest.fullLaunchPath() == aUrl) {
// remove the old shortuct
sendMessageToJava({
gecko: {
type: "Shortcut:Remove",
title: manifest.name,
url: manifest.fullLaunchPath(),
origin: app.origin,
shortcutType: "webapp"
}
});
WebappsUI.createShortcut(manifest.name, manifest.fullLaunchPath(),
WebappsUI.getBiggestIcon(manifest.icons, app.origin), "webapp");
BrowserApp.manifestUrl = app.manifestURL;
deferred.resolve(aUrl);
return;