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

fix fullscreen button with IE

This commit is contained in:
Luke Pulverenti 2015-05-17 21:27:48 -04:00
parent c5802fc5ab
commit 3114742ab7
18 changed files with 125 additions and 176 deletions

View file

@ -109,21 +109,15 @@
});
}
function newUserPage() {
function onSubmit() {
var page = $(this).parents('.page');
var self = this;
Dashboard.showLoadingMsg();
self.onSubmit = function () {
saveUser(page);
var page = $(this).parents('.page');
Dashboard.showLoadingMsg();
saveUser(page);
// Disable default form submission
return false;
};
// Disable default form submission
return false;
}
function loadData(page) {
@ -131,9 +125,7 @@
loadUser(page);
}
window.NewUserPage = new newUserPage();
$(document).on('pageinit', "#newUserPage", function () {
$(document).on('pageinitdepends', "#newUserPage", function () {
var page = this;
@ -157,7 +149,9 @@
});
}).on('pageshow', "#newUserPage", function () {
$('.newUserProfileForm').off('submit', onSubmit).on('submit', onSubmit);
}).on('pageshown', "#newUserPage", function () {
var page = this;