Some fixes to participation controls
* prevent default event in JS handlers to prevent jumping back to the top. * Use js-routes * Use sprite for icons * Reply with 200 instead of 204 when destroying a participation, to prevent errors in the browser console.
parent
eccab62e
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Affichage de
- app/assets/javascripts/app/views/stream_post_views.js 4 ajouts, 2 suppressionsapp/assets/javascripts/app/views/stream_post_views.js
- app/assets/stylesheets/application.css.scss 3 ajouts, 5 suppressionsapp/assets/stylesheets/application.css.scss
- app/assets/templates/stream-element_tpl.jst.hbs 4 ajouts, 4 suppressionsapp/assets/templates/stream-element_tpl.jst.hbs
- app/controllers/participations_controller.rb 7 ajouts, 7 suppressionsapp/controllers/participations_controller.rb
Chargement en cours
Veuillez vous inscrire ou vous se connecter pour commenter