var issueKey = issueElt.attr('data-issue-key');
var replaced = $j(htmlResponse);
issueElt.replaceWith(replaced);
-
- // re-enable the links opening modal popups
- replaced.find('.open-modal').modal();
-
notifyIssueChange(issueKey)
}
).fail(function (jqXHR, textStatus) {
).success(function (htmlResponse) {
var replaced = $j(htmlResponse);
issueElt.replaceWith(replaced);
-
- // re-enable the links opening modal popups
- replaced.find('.open-modal').modal();
-
notifyIssueChange(issueKey);
}
).fail(function (jqXHR, textStatus) {
success: function (htmlResponse) {
var replaced = $j(htmlResponse);
issueElt.replaceWith(replaced);
-
- // re-enable the links opening modal popups
- replaced.find('.open-modal').modal();
-
notifyIssueChange(issueKey);
}
});
function refreshIssue(elt) {
var issueElt = $j(elt).closest('[data-issue-key]');
var issueKey = issueElt.attr('data-issue-key');
- $j.get(baseUrl + "/issue/show/" + issueKey, function (html) {
+ $j.get(baseUrl + "/issue/show/" + issueKey + "?only_detail=true", function (html) {
var replaced = $j(html);
issueElt.replaceWith(replaced);
-
- // re-enable the links opening modal popups
- replaced.find('.open-modal').modal();
});
return false;
}
).success(function (html) {
var replaced = $j(html);
formElt.replaceWith(replaced);
-
- // enable the links opening modal popups
- replaced.find('.open-modal').modal();
}
).error(function (jqXHR, textStatus, errorThrown) {
var errorsElt = formElt.find('.code-issue-errors');