diff --git a/shared.py b/shared.py index 7d2522b..2010aec 100644 --- a/shared.py +++ b/shared.py @@ -93,8 +93,8 @@ def CreateSelect(name, selected, list, js="", add_class="", vals={} ): # TODO: can this be collapsed into using above - probably if the 'selected' passed in was 'In Folder' or 'Flat View' -- but I think that isn't in a var??? # Helper function used in html files to create a bootstrap'd select with options. Same as CreateSelect() really, only contains # hard-coded True/False around the if selected part, but with string based "True"/"False" in the vals={}, and list has "In Folders", "Flat View" -def CreateFoldersSelect(selected, add_class=""): - str = f'' # if selected is true, then folders == true, so make this the selected option if( selected ): str += ''