Show More
Commit Description:
* DRY the toggle button via application_helper.rb#toggle_button and _toggle_button.js.haml...
Commit Description:
* DRY the toggle button via application_helper.rb#toggle_button and _toggle_button.js.haml * bootrapize the user_admin * now considering user.enabled * tidy up route
File last commit:
Show/Diff file:
Action:
app/assets/javascripts/announcements.js.coffee | 6 lines | 196 B | text/coffeescript | CoffeeScriptLexer |
#js for announcement
$ ->
$(document).ajaxError (event, jqxhr, settings, exception) ->
if jqxhr.status
alert 'We\'re sorry, but something went wrong (' + jqxhr.status + ')'
return