autoresize inputs

This commit is contained in:
Dan Hansen 2011-08-31 16:33:45 -05:00
parent 7e72a29401
commit 818af38bdf
2 changed files with 3 additions and 1 deletions

View file

@ -419,9 +419,10 @@ var Publisher = {
});
Publisher.close();
});
Publisher.autocompletion.initialize();
Publisher.hiddenInput().val(Publisher.input().val());
Publisher.input().autoResize();
Publisher.input().keydown(Publisher.autocompletion.keyDownHandler);
Publisher.input().keyup(Publisher.autocompletion.keyUpHandler);
Publisher.bindAjax();

View file

@ -8,6 +8,7 @@
commentInput: commentFormElement.find("textarea")
});
self.commentInput.autoResize();
self.commentInput.focus(self.showCommentForm);
});