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/lib
lidlanca e277287b2e Fix: rapid/continuous keyboard Next event under Topics List view may lose selected item on "load more"
Using Next keyboard shortcut (J) rapidly while reaching last item in the topic list and
causing a "load more". The handler might get into a state where it can not detect any selected item due to the delay from Em.run.next
and will result in position reset.

+added boundary check of last item on next, early in the handler to avoid unnecessary computations 


https://meta.discourse.org/t/keyboard-shortcut-next-previous-continues-key-down-reset-to-first-item-in-list-on-load-more/20042
2014-09-13 23:59:20 -04:00
..
after-transition.js.es6 ES6: Transition helper 2014-08-12 16:33:53 -04:00
autocomplete.js.es6 ES6: user-search lib and autocomplete. Cancels many promises rather than 2014-08-08 13:10:13 -04:00
caret_position.js FEATURE: Quote reply at cursor 2014-06-18 15:17:55 +10:00
click_track.js FEATURE: new 'prevent anons from download files' site setting 2014-09-09 18:41:13 +02:00
computed.js ES6: ComposerView 2014-06-24 16:53:10 -04:00
debounce.js Renamed components to lib in the JS project, as Ember has components and they mean something different. 2013-10-24 12:36:46 -04:00
div_resizer.js Renamed components to lib in the JS project, as Ember has components and they mean something different. 2013-10-24 12:36:46 -04:00
eyeline.js Remove unused variables 2014-03-18 19:09:44 -07:00
formatter.js FIX: allow localization in timestamp 2014-08-27 20:57:06 +05:30
highlight.js FIX: highlight in yellow, not blue 2014-09-04 15:01:13 +10:00
html-builder.js.es6 Convert category helpers to ES6. 2014-09-04 11:32:30 -04:00
html.js FIX: Use secondary category color for stripes when only showing the 2014-06-20 12:46:42 -04:00
key_value_store.js FIX: Firefox chucks exceptions on localStorage with cookies disabled 2014-07-09 16:15:52 +10:00
keyboard_shortcuts.js Fix: rapid/continuous keyboard Next event under Topics List view may lose selected item on "load more" 2014-09-13 23:59:20 -04:00
lightbox.js x is no sexy, × is yes sexy 2014-06-28 02:17:18 -07:00
Markdown.Editor.js FIX: strip out some more undo/redo stuff 2014-07-18 10:32:55 +10:00
markdown.js FIX: Broken build 2014-08-25 13:35:40 -04:00
mention.js Remove Zalgo API from Discourse.Mention: 2014-04-14 16:51:18 -04:00
message_bus.js message bus update, extract message bus js out into gem 2013-11-25 17:37:01 +11:00
mobile.js Feature: Show keyboard shortcuts link on desktop hamburger 2014-07-28 11:48:56 +10:00
onebox.js Renamed components to lib in the JS project, as Ember has components and they mean something different. 2013-10-24 12:36:46 -04:00
page_tracker.js Fix this/self usage warning 2014-03-18 19:09:49 -07:00
plugin-api.js.es6 PLUGIN: New API for decorating a post with jQuery 2014-07-21 11:38:38 -04:00
probes.js display probe function to help debugging mobile etc. 2014-06-24 12:04:04 +10:00
quote.js Renamed components to lib in the JS project, as Ember has components and they mean something different. 2013-10-24 12:36:46 -04:00
screen_track.js BUGFIX: scrolled never ever fired :( 2014-06-10 22:24:52 +10:00
search.js FIX: broken search for admins when selecting topics 2014-09-04 12:21:57 +10:00
static-route-builder.js.es6 ES6: Remove dynamically generated static routes. They were causing lots 2014-07-29 14:24:16 -04:00
syntax_highlighting.js Make autohighighting for all Code-Blocks a SiteSetting 2014-03-31 09:44:35 +02:00
url.js FIX: Only use cached topic lists on popState 2014-09-09 12:57:51 -04:00
user-search.js.es6 FIX: autocomplete username failing to pop up 2014-09-01 01:48:17 +10:00
utilities.js Remove some Ember.Deferred usage. It's deprecated. 2014-08-07 17:22:00 -04:00