summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorGravatar Alexis Degrugillier <github@ainw.org> 2014-09-21 18:26:27 -0400
committerGravatar Alexis Degrugillier <github@ainw.org> 2014-09-21 18:26:27 -0400
commit04403c5dfae2db051416ccf0b41559d02bb0d287 (patch)
tree8a6e900aa78d5eb81f105fe523a51eed64666243 /app
parent3753ea8fd673feb16a2bfb323fea2b5ff964d77e (diff)
Remove number values for shortcuts as they are used in the default configuration
Diffstat (limited to 'app')
-rwxr-xr-xapp/Controllers/configureController.php6
1 files changed, 1 insertions, 5 deletions
diff --git a/app/Controllers/configureController.php b/app/Controllers/configureController.php
index 0e4c0be52..a44ef3104 100755
--- a/app/Controllers/configureController.php
+++ b/app/Controllers/configureController.php
@@ -322,17 +322,13 @@ class FreshRSS_configure_Controller extends Minz_ActionController {
* to 9), function keys (f1 to f12), backspace, delete, down, end, enter,
* escape, home, insert, left, page down, page up, return, right, space,
* tab and up.
- *
- * @todo remove numbers from the list of authorized shortcuts since they
- * are used to access shortcuts and user queries
*/
public function shortcutAction() {
$list_keys = array('a', 'b', 'backspace', 'c', 'd', 'delete', 'down', 'e', 'end', 'enter',
'escape', 'f', 'g', 'h', 'home', 'i', 'insert', 'j', 'k', 'l', 'left',
'm', 'n', 'o', 'p', 'page_down', 'page_up', 'q', 'r', 'return', 'right',
's', 'space', 't', 'tab', 'u', 'up', 'v', 'w', 'x', 'y',
- 'z', '0', '1', '2', '3', '4', '5', '6', '7', '8',
- '9', 'f1', 'f2', 'f3', 'f4', 'f5', 'f6', 'f7', 'f8', 'f9',
+ 'z', 'f1', 'f2', 'f3', 'f4', 'f5', 'f6', 'f7', 'f8', 'f9',
'f10', 'f11', 'f12');
$this->view->list_keys = $list_keys;