Commit 9f17f34b11cff1299cd2dbcabac2a60f8dcb4d55
1 parent
0a0015a5
Exists in
master
and in
4 other branches
Fix: change to submit button
Showing
1 changed file
with
3 additions
and
3 deletions
Show diff stats
js/main.js
@@ -1299,8 +1299,8 @@ define(['jquery', 'handlebars', 'fastclick', 'proposal_app', 'handlebars_helpers | @@ -1299,8 +1299,8 @@ define(['jquery', 'handlebars', 'fastclick', 'proposal_app', 'handlebars_helpers | ||
1299 | $message.text(''); | 1299 | $message.text(''); |
1300 | 1300 | ||
1301 | // handle 'loading' | 1301 | // handle 'loading' |
1302 | - var $voteContainer = $form.find('.vote-actions'); | ||
1303 | - $voteContainer.hide(); | 1302 | + var $submitButton = $form.find('.make-proposal-button'); |
1303 | + $submitButton.hide(); | ||
1304 | // $loading.show(); | 1304 | // $loading.show(); |
1305 | 1305 | ||
1306 | $.ajax({ | 1306 | $.ajax({ |
@@ -1323,7 +1323,7 @@ define(['jquery', 'handlebars', 'fastclick', 'proposal_app', 'handlebars_helpers | @@ -1323,7 +1323,7 @@ define(['jquery', 'handlebars', 'fastclick', 'proposal_app', 'handlebars_helpers | ||
1323 | $message.text('Não foi possível enviar.'); | 1323 | $message.text('Não foi possível enviar.'); |
1324 | }) | 1324 | }) |
1325 | .always(function(){ | 1325 | .always(function(){ |
1326 | - $voteContainer.show(); | 1326 | + $submitButton.show(); |
1327 | // $loading.hide(); | 1327 | // $loading.hide(); |
1328 | }); | 1328 | }); |
1329 | }); | 1329 | }); |