Skip to content

Commit

Permalink
commit-error-msg
Browse files Browse the repository at this point in the history
  • Loading branch information
urvashigupta7 committed Oct 6, 2020
1 parent ab581f1 commit b3ee650
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/assets/javascripts/comment.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

if(!$(this).hasClass('bound-error')) {
$(this).addClass('bound-error').bind('ajax:error', function(e,response){
notyNotification('mint', 3000, 'success', 'topRight', 'Some error occured while adding comment');
notyNotification('mint', 3000, 'error', 'topRight', 'Some error occured while adding comment');
$(this).find('#text-input').prop('disabled',false);
$(this).find('.control-group').addClass('has-error')
$(this).find('.control-group .help-block ').remove()
Expand Down

0 comments on commit b3ee650

Please sign in to comment.