diff --git a/dashboard-ui/bower_components/emby-webcomponents/.bower.json b/dashboard-ui/bower_components/emby-webcomponents/.bower.json index 7f6b34ce48..92044207db 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.483", - "_release": "1.4.483", + "version": "1.4.484", + "_release": "1.4.484", "_resolution": { "type": "version", - "tag": "1.4.483", - "commit": "e82bad6f9385c42f8eb95f8d7107dd973717abd1" + "tag": "1.4.484", + "commit": "ed56575477c1115b8583613135206ed49841c70f" }, "_source": "https://github.com/MediaBrowser/emby-webcomponents.git", "_target": "^1.2.1", diff --git a/dashboard-ui/bower_components/emby-webcomponents/emby-checkbox/emby-checkbox.css b/dashboard-ui/bower_components/emby-webcomponents/emby-checkbox/emby-checkbox.css index 03a6ea757d..3d784a22b0 100644 --- a/dashboard-ui/bower_components/emby-webcomponents/emby-checkbox/emby-checkbox.css +++ b/dashboard-ui/bower_components/emby-webcomponents/emby-checkbox/emby-checkbox.css @@ -127,3 +127,13 @@ opacity: .7; margin-bottom: 0; } + +@-webkit-keyframes repaintChrome { + from { + padding: 0; + } + + to { + padding: 0; + } +} \ No newline at end of file diff --git a/dashboard-ui/bower_components/emby-webcomponents/emby-checkbox/emby-checkbox.js b/dashboard-ui/bower_components/emby-webcomponents/emby-checkbox/emby-checkbox.js index 93eb7e78ea..b7613ae3f4 100644 --- a/dashboard-ui/bower_components/emby-webcomponents/emby-checkbox/emby-checkbox.js +++ b/dashboard-ui/bower_components/emby-webcomponents/emby-checkbox/emby-checkbox.js @@ -1,4 +1,4 @@ -define(['css!./emby-checkbox', 'registerElement'], function () { +define(['browser', 'dom', 'css!./emby-checkbox', 'registerElement'], function (browser, dom) { 'use strict'; var EmbyCheckboxPrototype = Object.create(HTMLInputElement.prototype); @@ -19,6 +19,22 @@ } } + var enableRefreshHack = browser.tizen || browser.orsay || browser.operaTv || browser.web0s ? true : false; + + function forceRefresh(loading) { + + var elem = document.body; + + elem.style.webkitAnimationName = 'repaintChrome'; + elem.style.webkitAnimationDelay = (loading === true ? '500ms' : ''); + elem.style.webkitAnimationDuration = '10ms'; + elem.style.webkitAnimationIterationCount = '1'; + + setTimeout(function () { + elem.style.webkitAnimationName = ''; + }, (loading === true ? 520 : 20)); + } + EmbyCheckboxPrototype.attachedCallback = function () { if (this.getAttribute('data-embycheckbox') === 'true') { @@ -47,10 +63,27 @@ labelTextElement.classList.add('checkboxLabel'); this.addEventListener('keydown', onKeyDown); + + if (enableRefreshHack) { + + forceRefresh(true); + dom.addEventListener(this, 'click', forceRefresh, { + passive: true + }); + dom.addEventListener(this, 'blur', forceRefresh, { + passive: true + }); + dom.addEventListener(this, 'focus', forceRefresh, { + passive: true + }); + dom.addEventListener(this, 'change', forceRefresh, { + passive: true + }); + } }; document.registerElement('emby-checkbox', { prototype: EmbyCheckboxPrototype, extends: 'input' }); -}); \ No newline at end of file +}); diff --git a/dashboard-ui/bower_components/emby-webcomponents/recordingcreator/recordingfields.js b/dashboard-ui/bower_components/emby-webcomponents/recordingcreator/recordingfields.js index 2826eefed0..3066fe6702 100644 --- a/dashboard-ui/bower_components/emby-webcomponents/recordingcreator/recordingfields.js +++ b/dashboard-ui/bower_components/emby-webcomponents/recordingcreator/recordingfields.js @@ -63,7 +63,7 @@ function getDvrFeatureCode() { - return appHost.dvrFeatureCode || 'dvr'; + return 'dvr'; } function showSingleRecordingFields(context, programId, apiClient) { diff --git a/dashboard-ui/components/apphost.js b/dashboard-ui/components/apphost.js index eed45e0640..d6168974b1 100644 --- a/dashboard-ui/components/apphost.js +++ b/dashboard-ui/components/apphost.js @@ -187,7 +187,6 @@ define(['appStorage', 'browser'], function (appStorage, browser) { var version = window.dashboardVersion || '3.0'; return { - dvrFeatureCode: 'dvr', getWindowState: function () { return document.windowState || 'Normal'; }, diff --git a/dashboard-ui/css/librarybrowser.css b/dashboard-ui/css/librarybrowser.css index fee7c8da06..17d9a7ad86 100644 --- a/dashboard-ui/css/librarybrowser.css +++ b/dashboard-ui/css/librarybrowser.css @@ -494,6 +494,7 @@ span.itemCommunityRating:not(:empty) + .userDataIcons { padding: .5em 0; display: flex; align-items: center; + flex-wrap: wrap; } .mainDetailButtons button, .recordingFields button { diff --git a/dashboard-ui/itemdetails.html b/dashboard-ui/itemdetails.html index 4afba21f70..01ec2ecb38 100644 --- a/dashboard-ui/itemdetails.html +++ b/dashboard-ui/itemdetails.html @@ -12,7 +12,7 @@
- +
@@ -38,7 +38,10 @@
- +