mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-09 08:48:07 +00:00
this is not part of build yet
This commit is contained in:
parent
792ad45230
commit
eb4a389461
@ -42,9 +42,16 @@ your Form Manager Information here</font></font></font></h3></center>
|
||||
.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");
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user