mirror of
https://github.com/Hopiu/wagtail.git
synced 2026-05-13 09:43:10 +00:00
Do not initialise tagit twice
Preemptively fixes #2142 for documents as well
This commit is contained in:
parent
f0095b5882
commit
4260b97608
1 changed files with 0 additions and 3 deletions
|
|
@ -89,9 +89,6 @@ $(function() {
|
|||
itemElement.addClass('upload-success')
|
||||
|
||||
$('.right', itemElement).append(response.form);
|
||||
|
||||
// run tagit enhancement
|
||||
$('.tag_field input', itemElement).tagit(window.tagit_opts);
|
||||
} else {
|
||||
itemElement.addClass('upload-failure');
|
||||
$('.right .error_messages', itemElement).append(response.error_message);
|
||||
|
|
|
|||
Loading…
Reference in a new issue