diff --git a/dashboard-ui/bower_components/emby-webcomponents/.bower.json b/dashboard-ui/bower_components/emby-webcomponents/.bower.json
index cb026748a..c4a7d2d93 100644
--- a/dashboard-ui/bower_components/emby-webcomponents/.bower.json
+++ b/dashboard-ui/bower_components/emby-webcomponents/.bower.json
@@ -14,12 +14,12 @@
},
"devDependencies": {},
"ignore": [],
- "version": "1.4.178",
- "_release": "1.4.178",
+ "version": "1.4.182",
+ "_release": "1.4.182",
"_resolution": {
"type": "version",
- "tag": "1.4.178",
- "commit": "7c624942d8f173858375ee1b3dfe735a82245af6"
+ "tag": "1.4.182",
+ "commit": "d4c701ce17ff5a243470cf9cae99babde51f7179"
},
"_source": "https://github.com/MediaBrowser/emby-webcomponents.git",
"_target": "^1.2.1",
diff --git a/dashboard-ui/bower_components/emby-webcomponents/cardbuilder/card.css b/dashboard-ui/bower_components/emby-webcomponents/cardbuilder/card.css
index 1d2bc7bb7..9407e53f0 100644
--- a/dashboard-ui/bower_components/emby-webcomponents/cardbuilder/card.css
+++ b/dashboard-ui/bower_components/emby-webcomponents/cardbuilder/card.css
@@ -206,11 +206,11 @@
padding: .5em .3em;
}
-.visualCardBox .cardScalable, .visualCardBox .cardFooter {
+.visualCardBox .cardScalable, .visualCardBox-cardFooter {
background-color: #222326;
}
-.visualCardBox .cardFooter {
+.visualCardBox-cardFooter {
border-bottom-left-radius: 2px;
border-bottom-right-radius: 2px;
-moz-box-shadow: 0 2px 4px rgba(0,0,0,0.1);
diff --git a/dashboard-ui/bower_components/emby-webcomponents/cardbuilder/cardbuilder.js b/dashboard-ui/bower_components/emby-webcomponents/cardbuilder/cardbuilder.js
index 0a7d89100..775efbee7 100644
--- a/dashboard-ui/bower_components/emby-webcomponents/cardbuilder/cardbuilder.js
+++ b/dashboard-ui/bower_components/emby-webcomponents/cardbuilder/cardbuilder.js
@@ -1079,7 +1079,7 @@ define(['datetime', 'imageLoader', 'connectionManager', 'itemHelper', 'mediaInfo
var outerCardFooter = '';
if (!overlayText && !footerOverlayed) {
- footerCssClass = options.cardLayout ? 'cardFooter' : 'cardFooter transparent';
+ footerCssClass = options.cardLayout ? 'cardFooter visualCardBox-cardFooter' : 'cardFooter transparent';
outerCardFooter = getCardFooterText(item, options, showTitle, forceName, imgUrl, footerCssClass, progressHtml, true);
}
diff --git a/dashboard-ui/bower_components/emby-webcomponents/cardbuilder/peoplecardbuilder.js b/dashboard-ui/bower_components/emby-webcomponents/cardbuilder/peoplecardbuilder.js
index 83bc2aace..b3b404d8a 100644
--- a/dashboard-ui/bower_components/emby-webcomponents/cardbuilder/peoplecardbuilder.js
+++ b/dashboard-ui/bower_components/emby-webcomponents/cardbuilder/peoplecardbuilder.js
@@ -93,7 +93,7 @@ define(['imageLoader', 'itemShortcuts', 'connectionManager', 'layoutManager'], f
\
\
\
-
\
diff --git a/dashboard-ui/bower_components/emby-webcomponents/focusmanager.js b/dashboard-ui/bower_components/emby-webcomponents/focusmanager.js
index 9e0c02707..454d28a05 100644
--- a/dashboard-ui/bower_components/emby-webcomponents/focusmanager.js
+++ b/dashboard-ui/bower_components/emby-webcomponents/focusmanager.js
@@ -24,7 +24,7 @@ define(['dom'], function (dom) {
}
if (defaultToFirst !== false) {
- element = getFocusableElements(view)[0];
+ element = getFocusableElements(view, 1)[0];
if (element) {
focus(element);
@@ -117,7 +117,7 @@ define(['dom'], function (dom) {
return scopes[0] || document.body;
}
- function getFocusableElements(parent) {
+ function getFocusableElements(parent, limit) {
var elems = (parent || getDefaultScope()).querySelectorAll(focusableQuery);
var focusableElements = [];
@@ -127,6 +127,10 @@ define(['dom'], function (dom) {
if (isCurrentlyFocusableInternal(elem)) {
focusableElements.push(elem);
+
+ if (limit && focusableElements.length >= limit) {
+ break;
+ }
}
}
@@ -262,6 +266,11 @@ define(['dom'], function (dom) {
var elementRect = getViewportBoundingClientRect(curr, windowData);
+ // not currently visible
+ if (!elementRect.width && !elementRect.height) {
+ continue;
+ }
+
switch (direction) {
case 0:
diff --git a/dashboard-ui/bower_components/emby-webcomponents/itemcontextmenu.js b/dashboard-ui/bower_components/emby-webcomponents/itemcontextmenu.js
index 1fb4fae55..9494f6e98 100644
--- a/dashboard-ui/bower_components/emby-webcomponents/itemcontextmenu.js
+++ b/dashboard-ui/bower_components/emby-webcomponents/itemcontextmenu.js
@@ -212,7 +212,7 @@ define(['apphost', 'globalize', 'connectionManager', 'itemHelper', 'embyRouter',
}
}
- if (isMobileApp && options.sync !== false) {
+ if (options.sync !== false) {
if (itemHelper.canSync(user, item)) {
commands.push({
name: globalize.translate('sharedcomponents#SyncToOtherDevice'),
@@ -425,10 +425,8 @@ define(['apphost', 'globalize', 'connectionManager', 'itemHelper', 'embyRouter',
{
require(['syncDialog'], function (syncDialog) {
syncDialog.showMenu({
- items: [
- {
- Id: itemId
- }]
+ items: [item],
+ serverId: serverId
});
});
getResolveFunction(resolve, id)();
@@ -438,11 +436,9 @@ define(['apphost', 'globalize', 'connectionManager', 'itemHelper', 'embyRouter',
{
require(['syncDialog'], function (syncDialog) {
syncDialog.showMenu({
- items: [
- {
- Id: itemId
- }],
- isLocalSync: true
+ items: [item],
+ isLocalSync: true,
+ serverId: serverId
});
});
getResolveFunction(resolve, id)();
diff --git a/dashboard-ui/bower_components/emby-webcomponents/itemidentifier/itemidentifier.js b/dashboard-ui/bower_components/emby-webcomponents/itemidentifier/itemidentifier.js
index 5db0d5539..876a35f61 100644
--- a/dashboard-ui/bower_components/emby-webcomponents/itemidentifier/itemidentifier.js
+++ b/dashboard-ui/bower_components/emby-webcomponents/itemidentifier/itemidentifier.js
@@ -203,7 +203,7 @@
html += '';
html += '';
- html += '
diff --git a/dashboard-ui/scripts/itemdetailpage.js b/dashboard-ui/scripts/itemdetailpage.js
index 36532963c..873c54594 100644
--- a/dashboard-ui/scripts/itemdetailpage.js
+++ b/dashboard-ui/scripts/itemdetailpage.js
@@ -2041,7 +2041,8 @@
function onSyncClick() {
require(['syncDialog'], function (syncDialog) {
syncDialog.showMenu({
- items: [currentItem]
+ items: [currentItem],
+ serverId: ApiClient.serverId()
});
});
}
@@ -2058,7 +2059,9 @@
require(['syncDialog'], function (syncDialog) {
syncDialog.showMenu({
items: [currentItem],
- isLocalSync: true
+ isLocalSync: true,
+ serverId: ApiClient.serverId()
+
}).then(function () {
reload(view, params);
}, resetSyncStatus);
diff --git a/dashboard-ui/scripts/librarybrowser.js b/dashboard-ui/scripts/librarybrowser.js
index 5f650d56b..0578c7cde 100644
--- a/dashboard-ui/scripts/librarybrowser.js
+++ b/dashboard-ui/scripts/librarybrowser.js
@@ -116,16 +116,9 @@
configureSwipeTabs: function (ownerpage, tabs) {
if (!browser.touch) {
- //return;
+ return;
}
- //require(['hammer'], function (Hammer) {
-
- // var hammertime = new Hammer(ownerpage);
- // hammertime.get('swipe').set({ direction: Hammer.DIRECTION_HORIZONTAL });
-
- //});
-
var pageCount = ownerpage.querySelectorAll('.pageTabContent').length;
var onSwipeLeft = function (e) {
if (LibraryBrowser.allowSwipe(e.target) && ownerpage.contains(e.target)) {
diff --git a/dashboard-ui/scripts/loginpage.js b/dashboard-ui/scripts/loginpage.js
index 8a5cc47c6..22a6bd295 100644
--- a/dashboard-ui/scripts/loginpage.js
+++ b/dashboard-ui/scripts/loginpage.js
@@ -162,7 +162,7 @@
html += '';
html += '';
- html += '