mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-29 01:08:56 +00:00
Fix links to sendtoqueue, closes issue #623
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
2018-06-08 DariusIII
|
||||
* Fix: Fix links to sendtoqueue, closes issue #623
|
||||
* Fix: Add missing column to tv related search function
|
||||
2018-06-07 DariusIII
|
||||
* Fix: Fix wrong return type in returnError function PHPDOC block
|
||||
|
||||
@@ -53,7 +53,7 @@ jQuery(function($){
|
||||
if ($(this).hasClass('icon_sab_clicked')) return false;
|
||||
|
||||
var guid = $(".guid").attr('id').substring(4);
|
||||
var nzburl = SERVERROOT + "sendtoqueue/" + guid;
|
||||
var nzburl = SERVERROOT + "/sendtoqueue/" + guid;
|
||||
|
||||
$.post(nzburl, function(resp){
|
||||
$(e.target).addClass('icon_sab_clicked').attr('title','Added to Queue');
|
||||
@@ -80,7 +80,7 @@ jQuery(function($){
|
||||
if ($(this).hasClass('icon_nzbget_clicked')) return false;
|
||||
|
||||
var guid = $(".guid").attr('id').substring(4);
|
||||
var nzburl = SERVERROOT + "sendtoqueue/" + guid;
|
||||
var nzburl = SERVERROOT + "/sendtoqueue/" + guid;
|
||||
|
||||
$.post(nzburl, function(resp){
|
||||
$(e.target).addClass('icon_nzbget_clicked').attr('title','Added to Queue');
|
||||
@@ -398,7 +398,7 @@ jQuery(function($){
|
||||
if ($(this).hasClass('icon_sab_clicked')) return false;
|
||||
|
||||
var guid = $(this).attr('id').substring(4);
|
||||
var nzburl = SERVERROOT + "sendtoqueue/" + guid;
|
||||
var nzburl = SERVERROOT + "/sendtoqueue/" + guid;
|
||||
|
||||
$.post(nzburl, function(resp){
|
||||
$(e.target).addClass('icon_sab_clicked').attr('title','Release added to Queue');
|
||||
@@ -425,7 +425,7 @@ jQuery(function($){
|
||||
if ($(this).hasClass('icon_nzbget_clicked')) return false;
|
||||
|
||||
var guid = $(this).attr('id').substring(4);
|
||||
var nzburl = SERVERROOT + "sendtoqueue/" + guid;
|
||||
var nzburl = SERVERROOT + "/sendtoqueue/" + guid;
|
||||
|
||||
$.post(nzburl, function(resp){
|
||||
$(e.target).addClass('icon_nzbget_clicked').attr('title','Added to Queue');
|
||||
@@ -565,7 +565,7 @@ jQuery(function($){
|
||||
var guid = $(row).val();
|
||||
//alert(guid);
|
||||
if (guid && !$sabIcon.hasClass('icon_sab_clicked')) {
|
||||
var nzburl = SERVERROOT + "sendtoqueue/" + guid;
|
||||
var nzburl = SERVERROOT + "/sendtoqueue/" + guid;
|
||||
// alert(nzburl);
|
||||
$.post( nzburl, function(resp){
|
||||
$sabIcon.addClass('icon_sab_clicked').attr('title','Added to Queue');
|
||||
@@ -594,7 +594,7 @@ jQuery(function($){
|
||||
var $nzbgetIcon = $(row).parent().parent().children('td.icons').children('.icon_nzbget');
|
||||
var guid = $(row).val();
|
||||
if (guid && !$nzbgetIcon.hasClass('icon_nzbget_clicked')) {
|
||||
var nzburl = SERVERROOT + "sendtoqueue/" + guid;
|
||||
var nzburl = SERVERROOT + "/sendtoqueue/" + guid;
|
||||
$.post( nzburl, function(resp){
|
||||
$nzbgetIcon.addClass('icon_nzbget_clicked').attr('title','Added to Queue');
|
||||
PNotify.prototype.options.styling = "fontawesome";
|
||||
@@ -720,7 +720,7 @@ jQuery(function($){
|
||||
var ids = new Array();
|
||||
$("table.data INPUT[type='checkbox']:checked").each( function(i, row) {
|
||||
var guid = $(row).val();
|
||||
var nzburl = SERVERROOT + "sendtoqueue/" + guid;
|
||||
var nzburl = SERVERROOT + "/sendtoqueue/" + guid;
|
||||
$.post( nzburl, function(){
|
||||
PNotify.prototype.options.styling = "fontawesome";
|
||||
PNotify.desktop.permission();
|
||||
|
||||
@@ -66,7 +66,7 @@ jQuery(function ($) {
|
||||
}
|
||||
|
||||
var guid = $(this).parent().parent().attr('id').substring(4);
|
||||
var nzburl = SERVERROOT + "sendtoqueue/" + guid;
|
||||
var nzburl = SERVERROOT + "/sendtoqueue/" + guid;
|
||||
|
||||
$.post(nzburl, function (resp) {
|
||||
$(e.target).addClass('icon_sab_clicked').attr('title', 'Added to Queue');
|
||||
@@ -191,7 +191,7 @@ jQuery(function ($) {
|
||||
var $sabIcon = $(row).parent().parent().children('td.icons').children('.icon_sab');
|
||||
var guid = $(row).val();
|
||||
if (guid && !$sabIcon.hasClass('icon_sab_clicked')) {
|
||||
var nzburl = SERVERROOT + "sendtoqueue/" + guid;
|
||||
var nzburl = SERVERROOT + "/sendtoqueue/" + guid;
|
||||
$.post( nzburl, function(resp){
|
||||
$sabIcon.addClass('icon_sab_clicked').attr('title','Added to Queue');
|
||||
$.pnotify({
|
||||
@@ -266,7 +266,7 @@ jQuery(function ($) {
|
||||
var ids = new Array();
|
||||
$("table.data INPUT[type='checkbox']:checked").each( function(i, row) {
|
||||
var guid = $(row).val();
|
||||
var nzburl = SERVERROOT + "sendtoqueue/" + guid;
|
||||
var nzburl = SERVERROOT + "/sendtoqueue/" + guid;
|
||||
$.post( nzburl, function(resp){
|
||||
$.pnotify({
|
||||
title: 'ADDED TO SAB!',
|
||||
|
||||
Reference in New Issue
Block a user