![]() |
#1 |
Forum King
Join Date: Jan 2002
Location: AT-DE
Posts: 3,366
|
weird nsDialogs behaviour
please have a look at the attached dummy-script
when ever you select a directory containing certain file-types (bmp, jpg, avi...), the checkboxes will be checked automatically. however, when i'm deleting the path-name from the text-field, it will always activate the bmp-checkbox. i haven't been able to spot the problem, any ideas? ps: the new forum doesn't allow attaching .nsi files |
![]() |
![]() |
![]() |
#2 |
Join Date: Sep 2003
Posts: 27,873
|
Test post for nsi attachment handling
|
![]() |
![]() |
![]() |
#3 | |
Forum King
Join Date: Jan 2002
Location: AT-DE
Posts: 3,366
|
Quote:
![]() |
|
![]() |
![]() |
![]() |
#4 |
Major Dude
Join Date: Jun 2001
Posts: 1,173
|
Perhaps you have a .bmp file in your root folder?
Essentially, add something like this in your checkbox state changing code.. PHP Code:
For me, the .jpg checkbox would always be checked - simply because I have some JPGs in my root folder ("c:\somefile.jpg"). As for a solution - you should probably trap for an empty line and always uncheck all checkboxes in that situation.. as it's probably not expected behavior for the end-user that you would be looking at the root folder ![]() Edit: Ah - you -are- trapping for it.. but your trap is sprung too late ![]() |
![]() |
![]() |
![]() |
#5 |
Forum King
Join Date: Jan 2002
Location: AT-DE
Posts: 3,366
|
thought i tried changing the order before - obviously i didn't, it works now! thanks
|
![]() |
![]() |
![]() |
|
Tags |
browse, checkboxes, directoryrequest, nsdialogs |
Thread Tools | Search this Thread |
Display Modes | |
|
|