diff options
author | Matěj Cepl <mcepl@redhat.com> | 2010-07-21 13:53:52 +0200 |
---|---|---|
committer | Matěj Cepl <mcepl@redhat.com> | 2010-07-21 13:53:52 +0200 |
commit | 16aee2fb8612acd87441c83ad7513c4f4b79bd67 (patch) | |
tree | ced10e12d1e230685e58e3fb6bd747cfed96be1e /lib/bzpage.js | |
parent | 3d3ee4e3f5cb10be0b858590bb464716a06a1c3b (diff) | |
download | bugzilla-triage-16aee2fb8612acd87441c83ad7513c4f4b79bd67.tar.gz |
Add a alert as a prompt to prompts library and use it.
Diffstat (limited to 'lib/bzpage.js')
-rw-r--r-- | lib/bzpage.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/bzpage.js b/lib/bzpage.js index e5797fd..ff84aa9 100644 --- a/lib/bzpage.js +++ b/lib/bzpage.js @@ -466,10 +466,10 @@ BZPage.prototype.setConfigurationButton = function setConfigurationButton () { var prfNm = BTSPrefNS+"JSONURL"; var url = preferences.get(prfNm,""); - var reply = prompts.prompt("New location of JSON configuration file",url); + var reply = prompts.prompt("New location of JSON configuration file", url); if (reply) { - preferences.set(prfNm,reply.trim()); - that.win.alert("For now, you should really restart Firefox!"); + preferences.set(prfNm, reply.trim()); + prompts.alert("For now, you should really restart Firefox!"); } evt.stopPropagation(); |