summaryrefslogtreecommitdiffstats
path: root/chrome/browser/sync/resources/passphrase.html
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/sync/resources/passphrase.html')
-rw-r--r--chrome/browser/sync/resources/passphrase.html7
1 files changed, 4 insertions, 3 deletions
diff --git a/chrome/browser/sync/resources/passphrase.html b/chrome/browser/sync/resources/passphrase.html
index e18da44..4ea8317 100644
--- a/chrome/browser/sync/resources/passphrase.html
+++ b/chrome/browser/sync/resources/passphrase.html
@@ -52,8 +52,8 @@ html[os='mac'] input[type='submit'] {
</style>
<script src="chrome://resources/js/cr.js"></script>
-<script>
- var currentTab;
+<script>
+ var currentMode;
// Called once, when this html/js is loaded.
function setupPassphraseDialog(args) {
@@ -88,7 +88,8 @@ html[os='mac'] input[type='submit'] {
function sendPassphraseAndClose() {
var f = document.getElementById("passphraseForm");
- var result = JSON.stringify({"passphrase": f.passphrase.value});
+ var result = JSON.stringify({"passphrase": f.passphrase.value,
+ "mode": currentMode});
chrome.send("Passphrase", [result]);
}
</script>