mirror of
https://github.com/gitbucket/gitbucket.git
synced 2026-05-06 18:26:28 +02:00
fix: issue save button disabled if after edited issue title once (#2331)
This commit is contained in:
committed by
Naoki Takezoe
parent
0eef0f9aa5
commit
3c0a2e8385
@@ -79,9 +79,9 @@ $(function(){
|
||||
}).done(function(data){
|
||||
$('#show-title').empty().text(data.title);
|
||||
$('#cancel').click();
|
||||
$(this).removeAttr('disabled');
|
||||
$('#update').removeAttr('disabled');
|
||||
}).fail(function(req){
|
||||
$(this).removeAttr('disabled');
|
||||
$('#update').removeAttr('disabled');
|
||||
$('#error-edit-title').text($.parseJSON(req.responseText).title);
|
||||
});
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user