From 62dc4339c42e9bd1bf37bdfbf3081d6e231fce20 Mon Sep 17 00:00:00 2001 From: "jwalden%mit.edu" Date: Fri, 14 Jul 2006 01:02:38 +0000 Subject: [PATCH] Bug 331842 - update-history almost useless, because it shows only one, the last, update. Patch by Michael Wu , r=darin, a=dbaron git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@202106 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/toolkit/mozapps/update/src/nsUpdateService.js.in | 1 + 1 file changed, 1 insertion(+) diff --git a/mozilla/toolkit/mozapps/update/src/nsUpdateService.js.in b/mozilla/toolkit/mozapps/update/src/nsUpdateService.js.in index f8a486b3617..9cf6d933592 100644 --- a/mozilla/toolkit/mozapps/update/src/nsUpdateService.js.in +++ b/mozilla/toolkit/mozapps/update/src/nsUpdateService.js.in @@ -1596,6 +1596,7 @@ UpdateManager.prototype = { _addUpdate: function(update) { if (!update) return; + this._ensureUpdates(); if (this._updates) { for (var i = 0; i < this._updates.length; ++i) { if (this._updates[i] &&