updating js

This commit is contained in:
Rolux 2010-02-26 14:46:14 +01:00
parent ca27b391b1
commit 3a1c6fea77
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
}); });