Added autocompletion

This commit is contained in:
Marcin Kurczewski
2014-10-05 13:25:40 +02:00
parent b57fee0ad8
commit adfc120642
11 changed files with 320 additions and 31 deletions

View File

@ -41,8 +41,8 @@ App.Presenters.PostUploadPresenter = function(
}));
$messages = $el.find('.messages');
tagInput = new App.Controls.TagInput($el.find('form [name=tags]'), _, jQuery);
fileDropper = App.Controls.FileDropper($el.find('[name=post-content]'), _, jQuery);
tagInput = new App.Controls.TagInput($el.find('form [name=tags]'));
fileDropper = new App.Controls.FileDropper($el.find('[name=post-content]'));
fileDropper.onChange = fileHandlerChanged;
$el.find('.url-handler input').keydown(urlHandlerKeyPressed);