From 9f27260aecf64dbde05af38305da64f581439211 Mon Sep 17 00:00:00 2001 From: Paul O'Shannessy Date: Thu, 23 Apr 2009 20:51:01 +0200 Subject: [PATCH] Bug 394759 - add a PluralForm setter for backward compatibility. r=gavin --- browser/base/content/browser.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/browser/base/content/browser.js b/browser/base/content/browser.js index 6510c8fd3fd..9018940eb88 100644 --- a/browser/base/content/browser.js +++ b/browser/base/content/browser.js @@ -128,11 +128,15 @@ __defineGetter__("gPrefService", function() { }); __defineGetter__("PluralForm", function() { - delete this.PluralForm + delete this.PluralForm; var tmpScope = {}; Cu.import("resource://gre/modules/PluralForm.jsm", tmpScope); return this.PluralForm = tmpScope.PluralForm; }); +__defineSetter__("PluralForm", function (val) { + delete this.PluralForm; + return this.PluralForm = val; +}); let gInitialPages = [ "about:blank",