|
|
@ -46,7 +46,6 @@ $(".addExistingButton").live('click', function () {
|
|
|
|
data: jQuery.param({ path: path, seriesName: title, seriesId: seriesId, qualityProfileId: qualityId, startDate: date }),
|
|
|
|
data: jQuery.param({ path: path, seriesName: title, seriesId: seriesId, qualityProfileId: qualityId, startDate: date }),
|
|
|
|
error: function (req, status, error) {
|
|
|
|
error: function (req, status, error) {
|
|
|
|
$(button).removeAttr('disabled');
|
|
|
|
$(button).removeAttr('disabled');
|
|
|
|
alert("Sorry! We could not add " + path + " at this time. " + error);
|
|
|
|
|
|
|
|
},
|
|
|
|
},
|
|
|
|
success: function() {
|
|
|
|
success: function() {
|
|
|
|
root.hide('highlight', 'fast');
|
|
|
|
root.hide('highlight', 'fast');
|
|
|
@ -137,7 +136,6 @@ $('#saveNewSeries').live('click', function () {
|
|
|
|
data: jQuery.param({ path: path, seriesName: seriesTitle, seriesId: seriesId, qualityProfileId: qualityId, startDate: date }),
|
|
|
|
data: jQuery.param({ path: path, seriesName: seriesTitle, seriesId: seriesId, qualityProfileId: qualityId, startDate: date }),
|
|
|
|
error: function (req, status, error) {
|
|
|
|
error: function (req, status, error) {
|
|
|
|
$('#saveNewSeries').removeAttr('disabled');
|
|
|
|
$('#saveNewSeries').removeAttr('disabled');
|
|
|
|
alert("Sorry! We could not add " + path + " at this time. " + error);
|
|
|
|
|
|
|
|
},
|
|
|
|
},
|
|
|
|
success: function () {
|
|
|
|
success: function () {
|
|
|
|
$('#saveNewSeries').removeAttr('disabled');
|
|
|
|
$('#saveNewSeries').removeAttr('disabled');
|
|
|
|