Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/Readarr/commit/4e5c354cd6665b26f17a37566202e82eacd4f676?style=unified&whitespace=ignore-change You should set ROOT_URL correctly, otherwise the web may not work correctly.

Remove Div when deleting instead of just hiding it (so it's not submitted when calling save).

pull/6/head
Mark McDowall 14 years ago
parent 822719bdaf
commit 4e5c354cd6

@ -76,17 +76,11 @@
return false;
});
// $("a.deleteRow").live("click", function () {
// $(this).parents("div.userProfileSectionEditor:first").remove();
// return false;
// });
var deleteQualityProfileUrl = '@Url.Action("DeleteQualityProfile", "Settings")';
function deleteProfile(id) {
//$(this).parents("div.userProfileSectionEditor:first").remove();
sendToServer(id);
$("#div_" + id).hide();
$("#div_" + id).remove();
}
function sendToServer(id) {
@ -95,7 +89,7 @@
url: deleteQualityProfileUrl,
data: jQuery.param({ profileId: id }),
error: function (req, status, error) {
alert("Sorry! We could not add " + path + " at this time. " + error);
alert("Sorry! We could not delete your Profile at this time. " + error);
}
});
}

Loading…
Cancel
Save