Added the functionality for the Sonarr Profiles on the Admin page #2 resolved.
This commit is contained in:
tidusjar 2016-03-11 16:06:52 +00:00
commit 24b2cd0a9c
33 changed files with 1180 additions and 4767 deletions

View file

@ -80,9 +80,9 @@ function sendRequestAjax(data, type, url, buttonId) {
generateNotify("Success!", "success");
$('#' + buttonId).html("<i class='fa fa-check'></i> Requested");
$('#' + buttonId).removeClass("btn-primary");
$('#' + buttonId).removeClass("btn-primary-outline");
$('#' + buttonId).removeAttr("data-toggle");
$('#' + buttonId).addClass("btn-success");
$('#' + buttonId).addClass("btn-success-outline");
} else {
generateNotify(response.message, "warning");
}