mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-01 06:35:42 +00:00
Bug 618516 - Improve placeholder behavior for JPAKE codes [r=mbrubeck]
This commit is contained in:
parent
8f265c7dc6
commit
d2021b5f26
@ -533,9 +533,9 @@
|
||||
<description class="syncsetup-center" flex="1">&sync.setup.jpake;</description>
|
||||
<separator/>
|
||||
<vbox align="center" flex="1">
|
||||
<description id="syncsetup-code1" class="syncsetup-code"></description>
|
||||
<description id="syncsetup-code2" class="syncsetup-code"></description>
|
||||
<description id="syncsetup-code3" class="syncsetup-code"></description>
|
||||
<description id="syncsetup-code1" class="syncsetup-code">....</description>
|
||||
<description id="syncsetup-code2" class="syncsetup-code">....</description>
|
||||
<description id="syncsetup-code3" class="syncsetup-code">....</description>
|
||||
</vbox>
|
||||
<separator/>
|
||||
<description class="syncsetup-center syncsetup-link" flex="1" onclick="WeaveGlue.openManual();">&sync.fallback;</description>
|
||||
|
@ -69,9 +69,9 @@ let WeaveGlue = {
|
||||
},
|
||||
|
||||
abortEasySetup: function abortEasySetup() {
|
||||
document.getElementById("syncsetup-code1").value = "";
|
||||
document.getElementById("syncsetup-code2").value = "";
|
||||
document.getElementById("syncsetup-code3").value = "";
|
||||
document.getElementById("syncsetup-code1").value = "....";
|
||||
document.getElementById("syncsetup-code2").value = "....";
|
||||
document.getElementById("syncsetup-code3").value = "....";
|
||||
if (!this.jpake)
|
||||
return;
|
||||
|
||||
@ -80,6 +80,9 @@ let WeaveGlue = {
|
||||
},
|
||||
|
||||
open: function open() {
|
||||
// Clear up any previous JPAKE codes
|
||||
this.abortEasySetup();
|
||||
|
||||
// Show the connect UI
|
||||
document.getElementById("syncsetup-container").hidden = false;
|
||||
document.getElementById("syncsetup-jpake").hidden = false;
|
||||
|
Loading…
Reference in New Issue
Block a user