splittingred / Gallery

A Gallery add-on for MODx Revolution.
http://svn.modxcms.com/docs/display/ADDON/Gallery
67 stars 61 forks source link

Gallery snippet does not pass correct value for Galleriffic option: enableKeyboardNavigation=`0` #275

Open nicboyde opened 10 years ago

nicboyde commented 10 years ago

It instead passes "0", so the condition can never be set to false and keyboard navigation cannot be turned off - rendering forms on the same screen useless. Spaces are intercepted by the javascript.

Commenting-out lines 938-941 of /assets/components/gallery/packages/galleriffic20/js/jquery.galleriffic.js (which monitor the position of the space bar) is a fix, but it should be possible to just turn it off. The galleriffic documentation doesn't mention this optional setting, but it is included.

jpdevries commented 10 years ago

@nicboyde thanks for reporting this. Gallery development has been moved to https://github.com/modxcms/Gallery/