Merge pull request #4807 from HDinger/fix/23820-link-to-add-additional-attachments-to-wiki-page-not-working

[23820] Link to add additional attachments to wiki page not working
pull/4810/head
Oliver Günther 8 years ago committed by GitHub
commit b17693cd2f
  1. 2
      app/assets/javascripts/application.js.erb

@ -159,7 +159,7 @@ function addFileField() {
var clone = $('attachment_template').cloneNode(true);
clone.writeAttribute('id', '');
clone.innerHTML = clone.innerHTML.replace(/\[1\]/g, '['+ fileFieldCount + ']');
jQuery('attachments_fields').appendChild(clone);
jQuery('#attachments_fields')[0].appendChild(clone);
}
function randomKey(size) {

Loading…
Cancel
Save