diff --git a/src/Archive/Redirect.coffee b/src/Archive/Redirect.coffee index f9bb6fd61..854f09fae 100755 --- a/src/Archive/Redirect.coffee +++ b/src/Archive/Redirect.coffee @@ -15,10 +15,12 @@ Redirect = o.file[boardID] = data unless boardID of o.file or boardID not in files for boardID, record of Conf['selectedArchives'] - for type, id of record when (archive = archives[id]) - boards = if type is 'file' then archive.files else archive.boards - continue unless boardID in boards - o[type][boardID] = archive + for type, id of record + if id is 'disabled' + delete o[type][boardID] + else if archive = archives[id] + boards = if type is 'file' then archive.files else archive.boards + o[type][boardID] = archive if boardID in boards Redirect.data = o diff --git a/src/General/Settings.coffee b/src/General/Settings.coffee index e304685bc..a8e1c93e2 100755 --- a/src/General/Settings.coffee +++ b/src/General/Settings.coffee @@ -329,8 +329,7 @@ Settings = o.file[i].push name if boardID in files for boardID, o of archBoards for item in ['thread', 'post', 'file'] - if o[item][0].length is 0 and o[item][1].length isnt 0 - o[item][0].push 'disabled' + o[item][0].push 'disabled' o[item] = o[item][0].concat(o[item][1]) rows = [] diff --git a/src/General/html/Settings/Advanced.html b/src/General/html/Settings/Advanced.html index a4f7171c0..18e5c2ccf 100755 --- a/src/General/html/Settings/Advanced.html +++ b/src/General/html/Settings/Advanced.html @@ -10,7 +10,6 @@
-Disabled selections indicate that only one archive is available for that board and redirection type.