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

fix encoding escape quotes

This commit is contained in:
Luke Pulverenti 2015-06-07 23:16:42 -04:00
parent 3920d73045
commit 1dd2833ed7
17 changed files with 387 additions and 341 deletions

View file

@ -22,7 +22,7 @@
config.UICulture = $('#selectLocalizationLanguage', page).val();
apiClient.ajax({
type: 'POST',
data: config,
url: apiClient.getUrl('Startup/Configuration')
@ -36,7 +36,17 @@
}
$(document).on('pageshow', "#wizardStartPage", function () {
function onSubmit() {
save($(this).parents('.page'));
return false;
}
$(document).on('pageinitdepends', "#wizardStartPage", function () {
$('.wizardStartForm').off('submit', onSubmit).on('submit', onSubmit);
}).on('pageshowready', "#wizardStartPage", function () {
Dashboard.showLoadingMsg();
var page = this;
@ -54,14 +64,4 @@
});
});
window.WizardStartPage = {
onSubmit: function () {
save($(this).parents('.page'));
return false;
}
};
})(window, jQuery);