Return true from onchange to continue with filtering instead of false to cancel.

Fixed not being able to change directory
This commit is contained in:
Nathan Gray 2014-05-12 15:53:16 +00:00
parent 91e2992172
commit cc54a57b25

View File

@ -47,7 +47,7 @@
<hbox span="all" class="filemanager_navigation">
<image label="Up" src="goup" onclick="app.filemanager.change_dir('..');" id="up"/>
<image label="Go to your home directory" src="gohome" onclick="app.filemanager.change_dir('~');" id="home"/>
<vfs-name label="Path" id="path" onchange="if(widget.getValue() == '') { app.filemanager.change_dir('~');} return false;" size="80" class="address"/>
<vfs-name label="Path" id="path" onchange="if(widget.getValue() == '') { app.filemanager.change_dir('~');} return true;" size="80" class="address"/>
<hbox id="buttons">
<button label="Go to" id="button[go]" image="key_enter"/>
<image id="tarp" src="buttonseparator"/>