Procházet zdrojové kódy

Remove number values for shortcuts as they are used in the default configuration

Alexis Degrugillier před 11 roky
rodič
revize
04403c5dfa
1 změnil soubory, kde provedl 1 přidání a 5 odebrání
  1. 1 5
      app/Controllers/configureController.php

+ 1 - 5
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;