updating js

This commit is contained in:
Rolux 2010-02-26 14:46:14 +01:00
parent cda23cbf42
commit 7b16660652
2 changed files with 6 additions and 2 deletions

View file

@ -217,7 +217,7 @@ input::-moz-focus-inner {
border: none; border: none;
} }
textarea { textarea {
padding: 2px; padding: 2px 4px 2px 4px;
margin: -1px 0 0 -1px; margin: -1px 0 0 -1px;
resize: none; resize: none;
-moz-border-radius: 8px; -moz-border-radius: 8px;

View file

@ -1839,8 +1839,12 @@ requires
that.bindEvent("click_" + self.autocompleteId, onClick); that.bindEvent("click_" + self.autocompleteId, onClick);
} }
if (self.options.type != "textarea") {
that.bindEvent({
key_enter: submit,
});
}
that.bindEvent({ that.bindEvent({
key_enter: submit,
key_escape: cancel key_escape: cancel
}); });