summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 9fff15e)
raw | patch | inline | side by side (parent: 9fff15e)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 25 Mar 2008 12:34:13 +0000 (12:34 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 25 Mar 2008 12:34:13 +0000 (12:34 +0000) |
-Allow to skip keyboard input filtering from within a template.
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@9971 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@9971 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/html/include/focus.js | patch | blob | history |
index 129e6162571f0e8d2f6d505599dd48f3cbabfd85..796798fb486f9b8dc15b4d5d69b765f661b02d47 100644 (file)
}
}
+
+var enable_keyPress = true;
function keyPress(DnEvents) {
+
+ /* We are forced to skip this Keyboard input filtering
+ * (enable_keyPress was set to false in the HTML content)
+ */
+ if(!enable_keyPress) return;
+
// determines whether Netscape or Internet Explorer
k = (netscape) ? DnEvents.keyCode : window.event.keyCode;
if (k == 13) { // enter key pressed