| ... | @@ -9,6 +9,15 @@ |
... | @@ -9,6 +9,15 @@ |
|
|
$('.delete-note').live('ajax:success', function() {
|
|
$('.delete-note').live('ajax:success', function() {
|
|
|
$(this).closest('li').fadeOut(); });
|
|
$(this).closest('li').fadeOut(); });
|
|
|
|
|
|
|
|
|
$("#new_note").live("ajax:before", function(){
|
|
|
|
$("#submit_note").attr("disabled", "disabled");
|
|
|
|
})
|
|
|
|
|
|
|
|
$("#new_note").live("ajax:complete", function(){
|
|
|
|
$("#submit_note").removeAttr("disabled");
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
|
- if ["issues", "projects"].include?(controller.controller_name)
|
|
- if ["issues", "projects"].include?(controller.controller_name)
|
|
|
:javascript
|
|
:javascript
|
|
|
$(function(){
|
|
$(function(){
|
| ... | |
... | |
| ... | | ... | |