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"); } }