Fix file select dialog toggling checkbox when clicking file name

This commit is contained in:
Nathan Gray 2013-11-12 23:51:05 +00:00
parent e97e1ff422
commit 555910edd8

View File

@ -706,5 +706,10 @@ app.classes.filemanager = AppJS.extend(
widget.set_value(widget.get_value() == file ? widget.options.unselected_value : file); widget.set_value(widget.get_value() == file ? widget.options.unselected_value : file);
} }
}, null, et2_checkbox); }, null, et2_checkbox);
// Stop event or it will toggle back off
event.preventDefault();
event.stopPropagation();
return false;
} }
}); });