[icinga-checkins] icinga.org: icingaweb2-module-director/master: js: try to put focus after the last character

git at icinga.org git at icinga.org
Tue Dec 6 10:24:44 CET 2016


Module: icingaweb2-module-director
Branch: master
Commit: 7de41f24920c9b52897db6d465a09f0281b21da9
URL:    https://git.icinga.org/?p=icingaweb2-module-director.git;a=commit;h=7de41f24920c9b52897db6d465a09f0281b21da9

Author: Thomas Gelf <thomas at gelf.net>
Date:   Tue Dec  6 08:43:06 2016 +0100

js: try to put focus after the last character

---

 public/js/module.js |    1 +
 1 file changed, 1 insertion(+)

diff --git a/public/js/module.js b/public/js/module.js
index f07f1e9..4b2ab1f 100644
--- a/public/js/module.js
+++ b/public/js/module.js
@@ -188,6 +188,7 @@
                 $list.scrollTop($prev.offset().top - $list.offset().top - 64 + $list.scrollTop());
             } else {
                 $el.focus();
+                $el.val($el.val());
             }
         },
 



More information about the icinga-checkins mailing list