(refs #488) Fixed the action for issue and comment content change.

This commit is contained in:
shimamoto
2014-10-05 17:13:58 +09:00
parent fc806b8813
commit b1017140aa
6 changed files with 47 additions and 52 deletions

View File

@@ -64,6 +64,7 @@ $(function(){
$('#edit').click(function(){
$('.edit-title').show();
$('.show-title').hide();
return false;
});
$('#update').click(function(){
@@ -82,11 +83,13 @@ $(function(){
$(this).removeAttr('disabled');
$('#error-edit-title').text($.parseJSON(req.responseText).title);
});
return false;
});
$('#cancel').click(function(){
$('.edit-title').hide();
$('.show-title').show();
return false;
});
});
</script>