Fixed issue 58, bug avec les raccourcis clavier.

This commit is contained in:
bohwaz 2008-11-18 11:29:53 +01:00 committed by Loic d'Anterroches
parent e01235caea
commit c807c18d21

View File

@ -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';});";
}
}