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:
parent
4094adb5a7
commit
f491228119
114 changed files with 1076 additions and 310 deletions
19
dashboard-ui/cordova/sharingwidget.js
vendored
19
dashboard-ui/cordova/sharingwidget.js
vendored
|
@ -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 = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue