From c807c18d215a8b95f36b2319ffb1a1cb70e7eb65 Mon Sep 17 00:00:00 2001 From: bohwaz Date: Tue, 18 Nov 2008 11:29:53 +0100 Subject: [PATCH] Fixed issue 58, bug avec les raccourcis clavier. --- src/IDF/Template/HotKey.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/IDF/Template/HotKey.php b/src/IDF/Template/HotKey.php index 0c5a611..f083b51 100644 --- a/src/IDF/Template/HotKey.php +++ b/src/IDF/Template/HotKey.php @@ -31,6 +31,6 @@ class IDF_Template_HotKey extends Pluf_Template_Tag function start($key, $view, $params=array(), $get_params=array()) { $url = addslashes(Pluf_HTTP_URL_urlForView($view, $params, $get_params)); - echo "jQuery.hotkeys.add('$key',function (){window.location.href='$url';});"; + echo "jQuery.hotkeys.add('$key',{disableInInput: true},function (){window.location.href='$url';});"; } }