Skip to content
Permalink
Browse files

Remove uncontional auto add, since it might interact badly with child…

… validation
  • Loading branch information...
flack committed Nov 6, 2019
1 parent 02bf3fd commit 223f84a792c390d33ac5acbc0d371fb81e2ea30d
Showing with 0 additions and 4 deletions.
  1. +0 −4 static/midcom.datamanager/subform.js
@@ -39,10 +39,6 @@ function init_subform(id, sortable) {
});
}

if (container.data('index') === 0) {
add_button.click();
}

add_button.on('click', function() {
// If there is exactly one file selector, we're probably in some sort of attachment list,
// so let's assume the user wants to add a file

0 comments on commit 223f84a

Please sign in to comment.
You can’t perform that action at this time.