hide the progress bar after login/create/verify
This commit is contained in:
Родитель
778c880203
Коммит
b3b8adafaf
|
@ -79,9 +79,10 @@ Firefox Sync stores your passwords, bookmarks, tabs and browsing history. Use it
|
|||
<p class="user">test</p>
|
||||
|
||||
<ul class='devices'></ul>
|
||||
|
||||
<p id="progress-message">Syncing your data...</p>
|
||||
<progress id="progress-meter"></progress>
|
||||
<div id="progress">
|
||||
<p id="progress-message">Syncing your data...</p>
|
||||
<progress id="progress-meter"></progress>
|
||||
</div>
|
||||
<p>You may close this tab and keep browsing or go to <a href="#" class="prefs">Preferences</a> to manage your account.</p>
|
||||
</div>
|
||||
|
||||
|
|
|
@ -60,9 +60,10 @@
|
|||
<ul class='devices full_width'></ul>
|
||||
<div class="bluebox">
|
||||
<div class="full_width">
|
||||
|
||||
<p id="progress-message">Syncing your data...</p>
|
||||
<progress style="width:100%" id="progress-meter"></progress>
|
||||
<div id="progress">
|
||||
<p id="progress-message">Syncing your data...</p>
|
||||
<progress style="width:100%" id="progress-meter"></progress>
|
||||
</div>
|
||||
<p class="small_text">You may close this tab and keep browsing or go to <a href="#" class="prefs">Preferences</a> to manage your account.</p>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -126,6 +126,7 @@ setupFunctions["t1-create-signin"] = function() {
|
|||
.done(function() {
|
||||
sendToBrowser('login', payload);
|
||||
switchTo("t2-signed-in-page");
|
||||
$("#progress").hide(); // hide the sync progress for now
|
||||
leaveError();
|
||||
makeNotBusy();
|
||||
}, function (err) {
|
||||
|
@ -224,6 +225,7 @@ setupFunctions["t1-create-signin"] = function() {
|
|||
console.log('sendToBrowser maor native payload: ', payload);
|
||||
sendToBrowser('login', payload);
|
||||
switchTo("t2-signed-in-page"); // TODO: what do we switch to here?
|
||||
$("#progress").hide(); // hide the sync progress for now
|
||||
leaveError();
|
||||
makeNotBusy();
|
||||
return;
|
||||
|
@ -328,6 +330,7 @@ setupFunctions["verify"] = function() {
|
|||
console.log('sendToBrowser payload: ', payload);
|
||||
sendToBrowser('login', payload);
|
||||
switchTo('t2-signed-in-page');
|
||||
$("#progress").hide(); // hide the sync progress for now
|
||||
});
|
||||
});
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче