mirror of
https://github.com/SickGear/SickGear.git
synced 2024-12-03 18:03:37 +00:00
de01fa1e37
Added scene exceptions feature, hover over the show name with your mouse to see ALL scene exceceptions currently set for the show.
39 lines
1.1 KiB
JavaScript
39 lines
1.1 KiB
JavaScript
$(function () {
|
|
$('.title a').each(function () {
|
|
match = $(this).parent().attr("id").match(/^scene_exception_(\d+)$/);
|
|
$(this).qtip({
|
|
content: {
|
|
text: 'Loading...',
|
|
ajax: {
|
|
url: $("#sbRoot").val() + '/home/sceneExceptions',
|
|
type: 'GET',
|
|
data: {
|
|
show: match[1]
|
|
},
|
|
success: function (data, status) {
|
|
this.set('content.text', data);
|
|
}
|
|
}
|
|
},
|
|
show: {
|
|
solo: true
|
|
},
|
|
position: {
|
|
viewport: $(window),
|
|
my: 'top center',
|
|
at: 'bottom center',
|
|
adjust: {
|
|
y: 3,
|
|
x: 0
|
|
}
|
|
},
|
|
style: {
|
|
tip: {
|
|
corner: true,
|
|
method: 'polygon'
|
|
},
|
|
classes: 'qtip-rounded qtip-shadow ui-tooltip-sb'
|
|
}
|
|
});
|
|
});
|
|
});
|