diff --git a/dist/main.js b/dist/main.js index 6dbb9ea..3a490a8 100644 Binary files a/dist/main.js and b/dist/main.js differ diff --git a/src/scripts/album.js b/src/scripts/album.js index 66c1999..e84aac9 100644 --- a/src/scripts/album.js +++ b/src/scripts/album.js @@ -170,7 +170,7 @@ album.add = function(albumID = 0) { const action = function(data) { let title = data.title - let parent = data.parent + let parent = albumID const isNumber = (n) => (!isNaN(parseFloat(n)) && isFinite(n)) @@ -196,16 +196,8 @@ album.add = function(albumID = 0) { api.post('Albums::get', { parent: -1 }, function(data) { - let cmbxOptions = ` - - ` - let msg = `
Enter a title for the new album:
-Select the parent album:
${ cmbxOptions }