1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

add more live tv buttons

This commit is contained in:
Luke Pulverenti 2015-08-24 23:13:04 -04:00
parent 4094adb5a7
commit f491228119
114 changed files with 1076 additions and 310 deletions

View file

@ -2,25 +2,16 @@
function showMenu(options, successCallback, cancelCallback) {
Dashboard.confirm(Globalize.translate('ButtonShareHelp'), Globalize.translate('HeaderConfirm'), function (confirmed) {
var shareInfo = options.share;
if (!confirmed) {
cancelCallback(options);
return;
}
window.plugins.socialsharing.share(shareInfo.Overview, shareInfo.Name, shareInfo.ImageUrl, shareInfo.Url, function () {
var shareInfo = options.share;
successCallback(options);
window.plugins.socialsharing.share(shareInfo.Overview, shareInfo.Name, shareInfo.ImageUrl, shareInfo.Url, function () {
}, function () {
successCallback(options);
}, function () {
cancelCallback(options);
});
cancelCallback(options);
});
}
window.SharingWidget = {