projects
/
infodrom
/
hallinta
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4d05b01
)
Focus on first form element upon record load
author
Joey Schulze
<joey@infodrom.org>
Thu, 11 Oct 2012 19:51:22 +0000
(21:51 +0200)
committer
Joey Schulze
<joey@infodrom.org>
Thu, 11 Oct 2012 19:51:22 +0000
(21:51 +0200)
lib/functions.js
patch
|
blob
|
history
diff --git
a/lib/functions.js
b/lib/functions.js
index
2c2d60b
..
787ea0e
100644
(file)
--- a/
lib/functions.js
+++ b/
lib/functions.js
@@
-477,6
+477,9
@@
function fetch_callback(data)
var status = document.getElementById('form_status');
status.innerHTML = 'GeƤndert: ' + data.sys_edit + ' von ' + data.sys_user;
+
+ var form = document.getElementById('form_edit');
+ Form.focusFirstElement(form);
}
/*