From 2523375b31df44417a1250e8b2fb60f807fa31f9 Mon Sep 17 00:00:00 2001 From: "gijskruitbosch%gmail.com" Date: Mon, 3 Sep 2007 08:26:31 +0000 Subject: [PATCH] Bug 261136 - Warning: assignment to undeclared variable rv p=timeless@bemail.org (timeless) r=ajvincent@gmail.com (Alex Vincent) Venkman Only (NPOTB). --- extensions/venkman/resources/content/venkman-utils.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/extensions/venkman/resources/content/venkman-utils.js b/extensions/venkman/resources/content/venkman-utils.js index 98764a5504a..84ba93976c9 100644 --- a/extensions/venkman/resources/content/venkman-utils.js +++ b/extensions/venkman/resources/content/venkman-utils.js @@ -292,12 +292,12 @@ function prompt(msg, initial, parent, title) parent = window; if (!title) title = MSG_PROMPT; - rv = { value: initial }; + var rv = { value: initial }; if (!ps.prompt (parent, title, msg, rv, null, {value: null})) return null; - return rv.value + return rv.value; } function getChildById (element, id)