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