mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-07-16 02:02:55 -07:00
Sorted out some of the UI for #18
This commit is contained in:
parent
0ac114d987
commit
2f415cc1fd
2 changed files with 10 additions and 4 deletions
7
PlexRequests.UI/Content/requests.js
vendored
7
PlexRequests.UI/Content/requests.js
vendored
|
@ -425,6 +425,7 @@ $(document).on("click", ".approve", function (e) {
|
|||
|
||||
approveRequest($form, null, function () {
|
||||
$("#" + $self.attr('id') + "notapproved").prop("class", "fa fa-check");
|
||||
|
||||
|
||||
var $group = $self.parent('.btn-split');
|
||||
if ($group.length > 0) {
|
||||
|
@ -448,7 +449,11 @@ $(document).on("click", ".deny", function (e) {
|
|||
loadingButton($self.attr('id')+"deny", "success");
|
||||
|
||||
denyRequest($form, function () {
|
||||
//$("#" + $self.attr('id') + "notapproved").prop("class", "fa fa-check");
|
||||
// Remove the form
|
||||
$("#" + "deny" + $self.attr('id')).remove();
|
||||
// remove the approve button
|
||||
var id = $self.attr("custom-button");
|
||||
$("#" + id).remove();
|
||||
|
||||
var $group = $self.parent('.btn-split');
|
||||
if ($group.length > 0) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue