Bug 1131136 part B - reload plugins when we load the plugins pane of the addon manager, r=Unfocused

--HG--
extra : rebase_source : af6134a6d4f194a0e890e6e179bfd8dc09285615
This commit is contained in:
Benjamin Smedberg 2015-02-10 12:30:06 -05:00
Родитель d7fc6d77c0
Коммит 6fefaa3051
1 изменённых файлов: 4 добавлений и 0 удалений

Просмотреть файл

@ -2597,6 +2597,10 @@ var gListView = {
while (this._listBox.itemCount > 0) while (this._listBox.itemCount > 0)
this._listBox.removeItemAt(0); this._listBox.removeItemAt(0);
if (aType == "plugin") {
navigator.plugins.refresh(false);
}
var self = this; var self = this;
getAddonsAndInstalls(aType, function show_getAddonsAndInstalls(aAddonsList, aInstallsList) { getAddonsAndInstalls(aType, function show_getAddonsAndInstalls(aAddonsList, aInstallsList) {
if (gViewController && aRequest != gViewController.currentViewRequest) if (gViewController && aRequest != gViewController.currentViewRequest)