Commit 47d8570c02cef4e9c2b41f78a0fa7278879c90d6
1 parent
d5463318
Exists in
master
and in
1 other branch
Fix button update on Rapid VLibras
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
app/assets/javascripts/v_libras/requests/rapid.js
@@ -117,7 +117,7 @@ $(function() { | @@ -117,7 +117,7 @@ $(function() { | ||
117 | var filename = input.val().split("\\").pop(); | 117 | var filename = input.val().split("\\").pop(); |
118 | var buttonText = "Arquivo: " + filename; | 118 | var buttonText = "Arquivo: " + filename; |
119 | 119 | ||
120 | - input.parent().find(".button-text").text(buttonText); | 120 | + $("#" + input[0].id).prev(".button-text").text(buttonText).parent().addClass("btn-info"); |
121 | } | 121 | } |
122 | }); | 122 | }); |
123 | 123 |