1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

update components

This commit is contained in:
Luke Pulverenti 2016-03-28 13:41:48 -04:00
parent 4a4c20e7c6
commit ee03ef4f51
27 changed files with 1767 additions and 21 deletions

View file

@ -16,12 +16,12 @@
},
"devDependencies": {},
"ignore": [],
"version": "1.1.91",
"_release": "1.1.91",
"version": "1.1.92",
"_release": "1.1.92",
"_resolution": {
"type": "version",
"tag": "1.1.91",
"commit": "8a268bdd807a875626f387dd8f4a0c4d0cff0a5f"
"tag": "1.1.92",
"commit": "b8a3cb7ffffe461b43e389650bd5c14170ea9eb7"
},
"_source": "git://github.com/MediaBrowser/emby-webcomponents.git",
"_target": "~1.1.5",

View file

@ -75,8 +75,14 @@ define(['dialogHelper', 'layoutManager', 'dialogText', 'html!./icons.html', 'css
dlg.querySelector('form').addEventListener('submit', function (e) {
submitValue = dlg.querySelector('.txtPromptValue').value;
dialogHelper.close(dlg);
e.preventDefault();
e.stopPropagation();
// Important, don't close the dialog until after the form has completed submitting, or it will cause an error in Chrome
setTimeout(function () {
dialogHelper.close(dlg);
}, 300);
return false;
});
@ -99,6 +105,7 @@ define(['dialogHelper', 'layoutManager', 'dialogText', 'html!./icons.html', 'css
return dialogHelper.open(dlg).then(function () {
var value = submitValue;
if (value) {
return value;
} else {