Commit b603161d authored by Ryan Herbert's avatar Ryan Herbert
Browse files

database.js call display correct pre_process on source toggle

if we are enabling file fields when changing the file source, we need to
display the correct amount of pre_process fields
parent de3cff58
...@@ -648,6 +648,10 @@ Database.prototype = { ...@@ -648,6 +648,10 @@ Database.prototype = {
var pre_process = $('#pre_process'); var pre_process = $('#pre_process');
pre_process.prop('disabled', disable); pre_process.prop('disabled', disable);
pre_process.closest("div").prop('hidden', disable); pre_process.closest("div").prop('hidden', disable);
if (!disable) {
this.pre_process_onChange(pre_process);
}
}, },
toggle_jstree: function(){ toggle_jstree: function(){
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment