From 28b2fb591de6835b9596fd286f1bf62c9087cd46 Mon Sep 17 00:00:00 2001 From: "morse%netscape.com" Date: Sat, 29 Jul 2000 20:45:44 +0000 Subject: [PATCH] this is not part of build yet git-svn-id: svn://10.0.0.236/trunk@75166 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/extensions/wallet/editor/interview.html | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/mozilla/extensions/wallet/editor/interview.html b/mozilla/extensions/wallet/editor/interview.html index 63f9fe72ff9..03bda9fe8fe 100644 --- a/mozilla/extensions/wallet/editor/interview.html +++ b/mozilla/extensions/wallet/editor/interview.html @@ -42,9 +42,16 @@ your Form Manager Information here .createInstance(Components.interfaces.nsIBrowserInstance); if (appCore) { status = appCore.walletRequestToCapture(window._content); - alert("Your interview information has been saved, status="+status); + + if (status == -1) { /* UnableToCapture */ + alert("UnableToCapture"); + } else if (status == 0) { /* Captured */ + alert("Your interview information has been saved"); + } else if (status == +1) { /* NotCaptured */ + alert("There is no information to save."); + } } else { - alert("no appCore"); + alert("Error occured when trying to save data"); } }