Summary: Fix missing save button when deleting milestones. Fixes #1762. Commit ready for merge.

- Legacy-Id: 9996
This commit is contained in:
Ole Laursen 2015-08-10 11:36:20 +00:00
parent 47c9792ea5
commit 3e76aa1f43

View file

@ -32,7 +32,7 @@ $(document).ready(function () {
var submit = milestonesForm.find("[type=submit]");
submit.text(submit.data("label" + action));
if (milestonesForm.find(".edit-milestone.changed").length > 0 || action == "review")
if (milestonesForm.find(".edit-milestone.changed,.edit-milestone.delete").length > 0 || action == "review")
submit.show();
else
submit.hide();