projects
/
fa-stable.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
094f227
)
Fixed default selection in popup editors
author
Janusz Dobrowolski
<janusz@frontaccounting.eu>
Mon, 27 Jul 2009 10:06:07 +0000
(10:06 +0000)
committer
Janusz Dobrowolski
<janusz@frontaccounting.eu>
Mon, 27 Jul 2009 10:06:07 +0000
(10:06 +0000)
js/inserts.js
patch
|
blob
|
history
diff --git
a/js/inserts.js
b/js/inserts.js
index 489a4b42ff08dbd0d9ffe9ee64277d2ccb41328f..745aa2c7631b0df66ad55320e18c6e47011a1ba4 100644
(file)
--- a/
js/inserts.js
+++ b/
js/inserts.js
@@
-393,7
+393,7
@@
function setHotKeys() {
for (var i=0; i<form.elements.length; i++){
var el = form.elements[i];
var asp = el.getAttribute('aspect');
- if (
(asp=='selector')
&& (key==13 || key==27)) {
+ if (
el.className!='editbutton' && asp=='selector'
&& (key==13 || key==27)) {
passBack(key==13 ? el.getAttribute('rel') : false);
ev.returnValue = false;
return false;