mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-06 07:48:38 +09:00
parent
a4e06695c0
commit
b1b86c587c
1 changed files with 8 additions and 6 deletions
|
|
@ -96,13 +96,15 @@ function chooseProfileFolder()
|
|||
dirChooser.show();
|
||||
newProfileRoot = dirChooser.file;
|
||||
|
||||
// Disable the "Default Folder..." button when the default profile folder
|
||||
// was selected manually in the File Picker.
|
||||
document.getElementById("useDefault").disabled =
|
||||
(newProfileRoot.parent.equals(gDefaultProfileParent));
|
||||
if (newProfileRoot) {
|
||||
// Disable the "Default Folder..." button when the default profile folder
|
||||
// was selected manually in the File Picker.
|
||||
document.getElementById("useDefault").disabled =
|
||||
(newProfileRoot.parent.equals(gDefaultProfileParent));
|
||||
|
||||
gProfileRoot = newProfileRoot;
|
||||
updateProfileDisplay();
|
||||
gProfileRoot = newProfileRoot;
|
||||
updateProfileDisplay();
|
||||
}
|
||||
}
|
||||
|
||||
// Checks the current user input for validity and triggers an error message accordingly.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue