Fix comments in MR. Fixed event destroy with user

This commit is contained in:
Dmitriy Zaporozhets 2012-07-19 07:05:57 +03:00
parent 214fdd2d2f
commit 1464952597
9 changed files with 24 additions and 15 deletions

View file

@ -25,11 +25,11 @@ init:
$(this).closest('li').fadeOut(); });
$("#new_note").live("ajax:before", function(){
$("#submit_note").attr("disabled", "disabled");
$(".submit_note").attr("disabled", "disabled");
})
$("#new_note").live("ajax:complete", function(){
$("#submit_note").removeAttr("disabled");
$(".submit_note").removeAttr("disabled");
})
$("#note_note").live("focus", function(){