diff --git a/src/core/js/edit_mode.js b/src/core/js/edit_mode.js index 2012e05118f7bd87910edff0fce255596d62f309..9d5c5e8d13f32edbb2552fba21c37c5e40e95f0b 100644 --- a/src/core/js/edit_mode.js +++ b/src/core/js/edit_mode.js @@ -1344,21 +1344,6 @@ var edit_mode = new function() { this.init_new_buttons = function(app) { var new_buttons = $('.caosdb-f-edit-panel-new-button'); - // Show a button "+" to create a new property when filter results in empty list. - // TODO This is the culprit for the hidden filter bars! - new_buttons.filter('.caosdb-f-hide-on-empty-input').parent().each(function(index) { - var button = $(this); - button.hide(); - var input = button.parent().find("input"); - input.on("input", function(e) { - if (input.val() == '') { - button.fadeOut(); - } else { - button.fadeIn(); - } - }); - }); - // handler for new property button // calls newEntity transition of state machine new_buttons.filter('.new-property').click(() => {