diff --git a/dashboard-ui/bower_components/emby-webcomponents/recordingcreator/recordingeditor.template.html b/dashboard-ui/bower_components/emby-webcomponents/recordingcreator/recordingeditor.template.html
index d3f29d68d7..48ce771236 100644
--- a/dashboard-ui/bower_components/emby-webcomponents/recordingcreator/recordingeditor.template.html
+++ b/dashboard-ui/bower_components/emby-webcomponents/recordingcreator/recordingeditor.template.html
@@ -15,8 +15,8 @@
-
-
+
+
diff --git a/dashboard-ui/bower_components/iron-meta/.bower.json b/dashboard-ui/bower_components/iron-meta/.bower.json
index e1304d174b..f4bfef4a7c 100644
--- a/dashboard-ui/bower_components/iron-meta/.bower.json
+++ b/dashboard-ui/bower_components/iron-meta/.bower.json
@@ -26,14 +26,14 @@
"webcomponentsjs": "webcomponents/webcomponentsjs#^0.7.0"
},
"main": "iron-meta.html",
- "homepage": "https://github.com/PolymerElements/iron-meta",
+ "homepage": "https://github.com/polymerelements/iron-meta",
"_release": "1.1.1",
"_resolution": {
"type": "version",
"tag": "v1.1.1",
"commit": "e171ee234b482219c9514e6f9551df48ef48bd9f"
},
- "_source": "git://github.com/PolymerElements/iron-meta.git",
+ "_source": "git://github.com/polymerelements/iron-meta.git",
"_target": "^1.0.0",
- "_originalSource": "PolymerElements/iron-meta"
+ "_originalSource": "polymerelements/iron-meta"
}
\ No newline at end of file
diff --git a/dashboard-ui/scripts/librarybrowser.js b/dashboard-ui/scripts/librarybrowser.js
index b2425cfac6..d7e2362d0a 100644
--- a/dashboard-ui/scripts/librarybrowser.js
+++ b/dashboard-ui/scripts/librarybrowser.js
@@ -32,6 +32,10 @@
var elem = button.querySelector('.pageTabButtonSelectionBar');
+ if (!elem) {
+ return;
+ }
+
var keyframes = [
{ transform: 'translate3d(-100%, 0, 0)', offset: 0 },
{ transform: 'none', offset: 1 }];
diff --git a/dashboard-ui/scripts/search.js b/dashboard-ui/scripts/search.js
index c209b65ce4..ecb3f442ea 100644
--- a/dashboard-ui/scripts/search.js
+++ b/dashboard-ui/scripts/search.js
@@ -1,4 +1,4 @@
-define(['libraryBrowser', 'scrollStyles'], function (libraryBrowser) {
+define(['libraryBrowser', 'events', 'scrollStyles'], function (libraryBrowser, events) {
var searchHintTimeout;
@@ -231,8 +231,8 @@
function bindSearchEvents() {
require(['searchmenu'], function (searchmenu) {
- Events.on(window.SearchMenu, 'closed', closeSearchResults);
- Events.on(window.SearchMenu, 'change', function (e, value) {
+ events.on(window.SearchMenu, 'closed', closeSearchResults);
+ events.on(window.SearchMenu, 'change', function (e, value) {
onHeaderSearchChange(value);
});
@@ -257,11 +257,14 @@
});
}
- document.addEventListener('pagebeforehide', closeSearchResults);
+ document.addEventListener('viewbeforehide', closeSearchResults);
document.addEventListener('headercreated', function () {
bindSearchEvents();
});
+ // dismiss search UI if user clicks a play button on a search result
+ events.on(MediaController, 'beforeplaybackstart', closeSearchResults);
+
});
\ No newline at end of file