зеркало из https://github.com/mozilla/pjs.git
Bug 416899 - invalid handlers listed in the Application Details dialog. r=Mano, a1.9=beltzner
This commit is contained in:
Родитель
d9102d6fea
Коммит
8f4c5326d7
|
@ -64,6 +64,9 @@ var gAppManagerDialog = {
|
||||||
var apps = this.handlerInfo.possibleApplicationHandlers.enumerate();
|
var apps = this.handlerInfo.possibleApplicationHandlers.enumerate();
|
||||||
while (apps.hasMoreElements()) {
|
while (apps.hasMoreElements()) {
|
||||||
let app = apps.getNext();
|
let app = apps.getNext();
|
||||||
|
if (!gApplicationsPane.isValidHandlerApp(app))
|
||||||
|
continue;
|
||||||
|
|
||||||
app.QueryInterface(Ci.nsIHandlerApp);
|
app.QueryInterface(Ci.nsIHandlerApp);
|
||||||
var item = list.appendItem(app.name);
|
var item = list.appendItem(app.name);
|
||||||
item.setAttribute("image", gApplicationsPane._getIconURLForHandlerApp(app));
|
item.setAttribute("image", gApplicationsPane._getIconURLForHandlerApp(app));
|
||||||
|
|
Загрузка…
Ссылка в новой задаче