Commit f8115e0f5925f998bfada63d89c4fc78f1a61a3f
1 parent
16490cbc
Exists in
master
and in
2 other branches
[Wizard] Hidding some stuff on finished
Showing
1 changed file
with
6 additions
and
1 deletions
Show diff stats
app/assets/javascripts/v_libras/requests/new.js
... | ... | @@ -27,6 +27,8 @@ $(function () { |
27 | 27 | if ((priorIndex === 0) && (currentIndex === 1)) { |
28 | 28 | videojs($("#video-step").find("video")[0]).pause(); |
29 | 29 | videojs($("#service-step").find("video")[0]).play(); |
30 | + | |
31 | + $("#menu").hide(); | |
30 | 32 | } |
31 | 33 | |
32 | 34 | if ((priorIndex === 1) && (currentIndex === 2)) { |
... | ... | @@ -50,8 +52,10 @@ $(function () { |
50 | 52 | |
51 | 53 | function finished(event, currentIndex) { |
52 | 54 | $("#vlibras-wizard .content").hide(); |
55 | + $("#vlibras-wizard .steps").hide(); | |
56 | + $("#menu").show(); | |
53 | 57 | $("#vlibras-form").submit(); |
54 | - $("#btn-next").text("Enviando..."); | |
58 | + $("#btn-next").text("Enviando... Aguarde, por favor."); | |
55 | 59 | deactivateNextButton(); |
56 | 60 | } |
57 | 61 | |
... | ... | @@ -105,6 +109,7 @@ $(function () { |
105 | 109 | |
106 | 110 | $("#vlibras-form").addHidden('service', 'video-legenda'); |
107 | 111 | $("#subtitle-upload").parent().parent().show(); |
112 | + $("#menu").show(); | |
108 | 113 | |
109 | 114 | $('html, body').animate({ |
110 | 115 | scrollTop: $("#subtitle-upload").offset().top | ... | ... |