Improved keyboard shortcuts in post upload

This commit is contained in:
Marcin Kurczewski
2014-10-18 15:37:04 +02:00
parent 3f93aaa652
commit 1610659910
3 changed files with 11 additions and 3 deletions

View File

@ -54,8 +54,9 @@ App.Presenters.PostUploadPresenter = function(
$el.find('.url-handler button').click(urlHandlerButtonClicked);
$el.find('thead th.checkbox').click(postTableSelectAllCheckboxClicked);
keyboard.keyup('a', selectPrevPostTableRow);
keyboard.keyup('d', selectNextPostTableRow);
keyboard.keydown('ctrl+up', selectPrevPostTableRow);
keyboard.keydown('ctrl+down', selectNextPostTableRow);
keyboard.keyup('q', tagInput.focus);
$el.find('.remove').click(removeButtonClicked);
$el.find('.move-up').click(moveUpButtonClicked);