From c6e1a3e74719e22500f8b9ff8ec4c089b018de6d Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Thu, 28 Apr 2016 23:31:52 -0400 Subject: [PATCH] update components --- .../bower_components/emby-webcomponents/.bower.json | 8 ++++---- .../emby-webcomponents/dialoghelper/dialoghelper.js | 8 +++----- .../emby-webcomponents/sharing/sharingmenu.js | 4 ++-- dashboard-ui/bower_components/iron-icon/.bower.json | 6 +++--- dashboard-ui/bower_components/iron-selector/.bower.json | 4 ++-- dashboard-ui/bower_components/polymer/.bower.json | 2 +- 6 files changed, 15 insertions(+), 17 deletions(-) diff --git a/dashboard-ui/bower_components/emby-webcomponents/.bower.json b/dashboard-ui/bower_components/emby-webcomponents/.bower.json index 122db24dd1..9f9f541f6b 100644 --- a/dashboard-ui/bower_components/emby-webcomponents/.bower.json +++ b/dashboard-ui/bower_components/emby-webcomponents/.bower.json @@ -16,12 +16,12 @@ }, "devDependencies": {}, "ignore": [], - "version": "1.2.56", - "_release": "1.2.56", + "version": "1.2.57", + "_release": "1.2.57", "_resolution": { "type": "version", - "tag": "1.2.56", - "commit": "1f1194a244b476b500d3fabe85f469b6420182f8" + "tag": "1.2.57", + "commit": "f0449d2fac7a883179fdeefdac1807a41c47dfd5" }, "_source": "https://github.com/MediaBrowser/emby-webcomponents.git", "_target": "^1.2.0", diff --git a/dashboard-ui/bower_components/emby-webcomponents/dialoghelper/dialoghelper.js b/dashboard-ui/bower_components/emby-webcomponents/dialoghelper/dialoghelper.js index 9aab8f60bd..a19fb9bb77 100644 --- a/dashboard-ui/bower_components/emby-webcomponents/dialoghelper/dialoghelper.js +++ b/dashboard-ui/bower_components/emby-webcomponents/dialoghelper/dialoghelper.js @@ -24,8 +24,6 @@ function onBackCommand(e) { if (e.detail.command == 'back') { - inputManager.off(dlg, onBackCommand); - self.closedByBack = true; closeDialog(dlg); e.preventDefault(); @@ -34,6 +32,9 @@ function onDialogClosed() { + inputManager.off(dlg, onBackCommand); + window.removeEventListener('popstate', onHashChange); + removeBackdrop(dlg); dlg.classList.remove('opened'); @@ -41,9 +42,6 @@ document.body.classList.remove('noScroll'); } - window.removeEventListener('popstate', onHashChange); - inputManager.off(dlg, onBackCommand); - if (!self.closedByBack && isHistoryEnabled(dlg)) { var state = history.state || {}; if (state.dialogId == hash) { diff --git a/dashboard-ui/bower_components/emby-webcomponents/sharing/sharingmenu.js b/dashboard-ui/bower_components/emby-webcomponents/sharing/sharingmenu.js index 7c1f57b99a..1358dd49b0 100644 --- a/dashboard-ui/bower_components/emby-webcomponents/sharing/sharingmenu.js +++ b/dashboard-ui/bower_components/emby-webcomponents/sharing/sharingmenu.js @@ -1,10 +1,10 @@ -define(['dialogHelper', 'dialogText', './social-share-kit-1.0.4/dist/js/social-share-kit.min', 'css!./social-share-kit-1.0.4/dist/css/social-share-kit.css'], function (dialogHelper, dialogText) { +define(['dialogHelper', 'layoutManager', 'dialogText', './social-share-kit-1.0.4/dist/js/social-share-kit.min', 'css!./social-share-kit-1.0.4/dist/css/social-share-kit.css'], function (dialogHelper, layoutManager, dialogText) { function showMenu(options) { var dlg = dialogHelper.createDialog({ removeOnClose: true, - autoFocus: false + autoFocus: layoutManager.tv }); dlg.id = 'dlg' + new Date().getTime(); diff --git a/dashboard-ui/bower_components/iron-icon/.bower.json b/dashboard-ui/bower_components/iron-icon/.bower.json index f0167baf13..9784e3a3b7 100644 --- a/dashboard-ui/bower_components/iron-icon/.bower.json +++ b/dashboard-ui/bower_components/iron-icon/.bower.json @@ -32,14 +32,14 @@ "web-component-tester": "^4.0.0", "webcomponentsjs": "webcomponents/webcomponentsjs#^0.7.0" }, - "homepage": "https://github.com/polymerelements/iron-icon", + "homepage": "https://github.com/PolymerElements/iron-icon", "_release": "1.0.8", "_resolution": { "type": "version", "tag": "v1.0.8", "commit": "f36b38928849ef3853db727faa8c9ef104d611eb" }, - "_source": "git://github.com/polymerelements/iron-icon.git", + "_source": "git://github.com/PolymerElements/iron-icon.git", "_target": "^1.0.0", - "_originalSource": "polymerelements/iron-icon" + "_originalSource": "PolymerElements/iron-icon" } \ No newline at end of file diff --git a/dashboard-ui/bower_components/iron-selector/.bower.json b/dashboard-ui/bower_components/iron-selector/.bower.json index c88ed41aaf..43e942ccc6 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.4.0", "commit": "554f7418fdbd97688eb21518b5f8172167d53a95" }, - "_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 3e8a4009a3..bbad7fe7ba 100644 --- a/dashboard-ui/bower_components/polymer/.bower.json +++ b/dashboard-ui/bower_components/polymer/.bower.json @@ -34,6 +34,6 @@ "commit": "11c987b2eb3c73b388a79fc8aaea8ca01624f514" }, "_source": "git://github.com/Polymer/polymer.git", - "_target": "^1.0.0", + "_target": "^1.1.0", "_originalSource": "Polymer/polymer" } \ No newline at end of file