This repository has been archived on 2023-03-18. You can view files and clone it, but cannot push or open issues or pull requests.
osr-discourse-src/app/assets/javascripts/discourse
Arun Israel 9ced796674 [bugfix] Fix for '/' keyboard shortcut putting '/' into search input
Changed the search button binding from a click binding in mousetrap.js to a function binding.
Added a showSearch function that uses jquery to click the '#search-button' element
and the function returns false preventing the default action and stops the keydown event
from bubbling upwards.

Meta Discourse Bug Thread: https://meta.discourse.org/t/shortcut-for-search-leaves-a-in-the-search-field/14394
Mousetrap reference: http://craig.is/killing/mice
2014-04-05 01:38:00 -04:00
..
components [bugfix] Fix for '/' keyboard shortcut putting '/' into search input 2014-04-05 01:38:00 -04:00
controllers FIX: normalize category badge code on edit category modal 2014-04-04 16:48:14 -04:00
dialects SECURITY: sanitize markdown urls (prevent XSS) 2014-03-27 15:34:35 +01:00
ember FEATURE: allow plugins to overwrite handlebars templates 2013-12-31 16:43:29 +01:00
helpers Use sub-category badge on categories page too 2014-03-27 15:25:47 -04:00
initializers FEATURE: better UX when backing-up the site 2014-02-28 18:09:48 +01:00
lib Markdown Editor clean up. 2014-04-04 20:22:18 +02:00
mixins Remove trailing commas, add trailing semicolons 2014-03-18 18:21:10 -07:00
models FIX: Escape name on activity feed 2014-04-03 11:54:51 -04:00
routes Delays loading spinner when switching between tabs. 2014-03-31 17:56:23 +02:00
templates FIX: normalize category badge code on edit category modal 2014-04-04 16:48:14 -04:00
views BUGFIX: check image size before uploading an avatar/background 2014-04-03 19:19:38 +02:00