From e0d291378eccdad5055e7f20eb75b671f8819862 Mon Sep 17 00:00:00 2001 From: Roland Gruber Date: Sun, 31 May 2015 08:03:00 +0000 Subject: [PATCH] support filter for NIS net groups --- lam/lib/html.inc | 17 +++++++++++++++- lam/lib/modules/nisNetGroupUser.inc | 9 +++++++++ lam/templates/lib/500_lam.js | 30 +++++++++++++++++++++++++++++ 3 files changed, 55 insertions(+), 1 deletion(-) diff --git a/lam/lib/html.inc b/lam/lib/html.inc index 7ccd6f76..a0a39f5c 100644 --- a/lam/lib/html.inc +++ b/lam/lib/html.inc @@ -418,6 +418,8 @@ class htmlInputField extends htmlElement { protected $fieldMaxLength = 255; /** on keypress event */ protected $onKeyPress = null; + /** on keyupp event */ + protected $onKeyUp = null; /** password field */ protected $isPassword = false; /** check password strength */ @@ -535,11 +537,15 @@ class htmlInputField extends htmlElement { if ($this->onKeyPress != null) { $onKeyPress = ' onkeypress="' . $this->onKeyPress . '"'; } + $onKeyUp = ''; + if ($this->onKeyUp != null) { + $onKeyUp = ' onkeyup="' . $this->onKeyUp . '"'; + } $title = ''; if (!empty($this->title)) { $title = ' title="' . $this->title . '"'; } - echo ''; + echo ''; // autocompletion if ($this->autocomplete) { echo "