Skip to content
Snippets Groups Projects
Commit 52dcabd4 authored by Eric Oulashin's avatar Eric Oulashin
Browse files

DD file area chooser fix: Listing libraries without first listing directories...

DD file area chooser fix: Listing libraries without first listing directories within the user's current library (with directory collapsing) works again
parent 126d0638
No related branches found
No related tags found
No related merge requests found
......@@ -27,6 +27,12 @@
* Running this scipt with the "false command-line parameter
* works again, allowing the user to choose the file directory
* within their file library.
* 2022-07-03 Eric Oulashin Version 1.27
* When listing libraries without first listing directories
* within the user's current library, it wouldn't display
* the libraries the first time because the library information
* wasn't built when using directory collapsing. This has been
* fixed.
*/
// TODO: Failing silently when 1st argument is true
......@@ -67,8 +73,8 @@ if (system.version_num < 31400)
}
// Version & date variables
var DD_FILE_AREA_CHOOSER_VERSION = "1.24";
var DD_FILE_AREA_CHOOSER_VER_DATE = "2022-05-17";
var DD_FILE_AREA_CHOOSER_VERSION = "1.27";
var DD_FILE_AREA_CHOOSER_VER_DATE = "2022-07-03";
// Keyboard input key codes
var CTRL_H = "\x08";
......@@ -741,6 +747,14 @@ function DDFileAreaChooser_GetActualLibIdx()
// Return value: The number of directories listed
function DDFileAreaChooser_ListFileLibs_Traditional(pSearchText)
{
// Ensure that the file directory printf information is created for
// this file library.
for (var libIdx = 0; libIdx < file_area.lib_list.length; ++libIdx)
{
if (typeof(this.fileDirListPrintfInfo[libIdx]) == "undefined")
this.BuildFileDirPrintfInfoForLib(libIdx);
}
var searchText = (typeof(pSearchText) == "string" ? pSearchText.toUpperCase() : "");
// Print the list header
......
Digital Distortion Area Choosers
Version 1.26
Release date: 2022-06-12
Version 1.26/1.27
Release date: 2022-07-03
by
......
......@@ -5,6 +5,11 @@ Revision History (change log)
=============================
Version Date Description
------- ---- -----------
1.27 2022-07-03 File area chooser fix: When listing libraries without
first listing directories within the user's current
library, it wouldn't display the libraries the first
time because the library information wasn't built when
using directory collapsing. This has been fixed.
1.26 2022-06-12 File area chooser fix: Running the scipt with the "false"
command-line parameter works again, allowing the user to
choose the file directory within their file library.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment