From 1508803d6efda180f2a0f816cc17897448f2a404 Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Mon, 1 Feb 2016 13:39:23 -0500 Subject: [PATCH] update components --- .../emby-webcomponents/.bower.json | 8 ++++---- .../emby-webcomponents/slideshow/slideshow.js | 14 +++++++++++--- .../bower_components/iron-selector/.bower.json | 4 ++-- dashboard-ui/bower_components/polymer/.bower.json | 2 +- 4 files changed, 18 insertions(+), 10 deletions(-) diff --git a/dashboard-ui/bower_components/emby-webcomponents/.bower.json b/dashboard-ui/bower_components/emby-webcomponents/.bower.json index 137ec8d910..1ee1ee7276 100644 --- a/dashboard-ui/bower_components/emby-webcomponents/.bower.json +++ b/dashboard-ui/bower_components/emby-webcomponents/.bower.json @@ -15,12 +15,12 @@ }, "devDependencies": {}, "ignore": [], - "version": "1.0.55", - "_release": "1.0.55", + "version": "1.0.56", + "_release": "1.0.56", "_resolution": { "type": "version", - "tag": "1.0.55", - "commit": "9550327596d1e5ce65f1de885549ad6a3d526f04" + "tag": "1.0.56", + "commit": "f7139158be99bd60bcf377ebfddf879a0564a91f" }, "_source": "git://github.com/MediaBrowser/emby-webcomponents.git", "_target": "~1.0.0", diff --git a/dashboard-ui/bower_components/emby-webcomponents/slideshow/slideshow.js b/dashboard-ui/bower_components/emby-webcomponents/slideshow/slideshow.js index fdd85e4e3d..069c562ae3 100644 --- a/dashboard-ui/bower_components/emby-webcomponents/slideshow/slideshow.js +++ b/dashboard-ui/bower_components/emby-webcomponents/slideshow/slideshow.js @@ -1,4 +1,4 @@ -define(['paperdialoghelper', 'inputManager', 'connectionManager', 'browser', 'css!./style', 'html!./icons', 'iron-icon-set', 'paper-fab', 'paper-icon-button'], function (paperdialoghelper, inputmanager, connectionManager, browser) { +define(['paperdialoghelper', 'inputManager', 'connectionManager', 'browser', 'css!./style', 'html!./icons', 'iron-icon-set', 'paper-fab', 'paper-icon-button', 'paper-spinner'], function (paperdialoghelper, inputmanager, connectionManager, browser) { return function (options) { @@ -109,12 +109,20 @@ define(['paperdialoghelper', 'inputManager', 'connectionManager', 'browser', 'cs function onSlideChangeStart(swiper, slide, image) { - slide.querySelector('paper-spinner').active = true; + var spinner = slide.querySelector('paper-spinner'); + if (spinner) { + spinner.active = true; + } } function onSlideChangeEnd(swiper, slide, image) { - slide.querySelector('paper-spinner').active = false; + var spinner = slide.querySelector('paper-spinner'); + if (spinner) { + spinner.active = false; + // Remove it because in IE it might just keep in spinning forever + spinner.parentNode.removeChild(spinner); + } } function getSwiperSlideHtmlFromSlide(item) { diff --git a/dashboard-ui/bower_components/iron-selector/.bower.json b/dashboard-ui/bower_components/iron-selector/.bower.json index aa1f383231..d583d34022 100644 --- a/dashboard-ui/bower_components/iron-selector/.bower.json +++ b/dashboard-ui/bower_components/iron-selector/.bower.json @@ -36,7 +36,7 @@ "tag": "v1.1.0", "commit": "abd9ee7c29f0aae7b583abfe0af9db7f2555eabf" }, - "_source": "git://github.com/polymerelements/iron-selector.git", + "_source": "git://github.com/PolymerElements/iron-selector.git", "_target": "^1.0.0", - "_originalSource": "polymerelements/iron-selector" + "_originalSource": "PolymerElements/iron-selector" } \ No newline at end of file diff --git a/dashboard-ui/bower_components/polymer/.bower.json b/dashboard-ui/bower_components/polymer/.bower.json index 01365c0ce5..a14227c689 100644 --- a/dashboard-ui/bower_components/polymer/.bower.json +++ b/dashboard-ui/bower_components/polymer/.bower.json @@ -34,6 +34,6 @@ "commit": "284332a905ddd60eab11901a82ac037976175cf8" }, "_source": "git://github.com/Polymer/polymer.git", - "_target": "^1.0.0", + "_target": "^1.2.0", "_originalSource": "Polymer/polymer" } \ No newline at end of file