mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Merge pull request #6010 from thornbill/create-library-crash
Fix create library crashing when no path specified
This commit is contained in:
commit
b9760eac75
1 changed files with 2 additions and 1 deletions
|
@ -25,6 +25,8 @@ import alert from '../alert';
|
|||
import template from './mediaLibraryCreator.template.html';
|
||||
|
||||
function onAddLibrary(e) {
|
||||
e.preventDefault();
|
||||
|
||||
if (isCreating) {
|
||||
return false;
|
||||
}
|
||||
|
@ -61,7 +63,6 @@ function onAddLibrary(e) {
|
|||
isCreating = false;
|
||||
loading.hide();
|
||||
});
|
||||
e.preventDefault();
|
||||
}
|
||||
|
||||
function getCollectionTypeOptionsHtml(collectionTypeOptions) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue