diff --git a/src/pfwbged/collection/pfwbcollection.js b/src/pfwbged/collection/pfwbcollection.js index e4c73c4..a950d4f 100644 --- a/src/pfwbged/collection/pfwbcollection.js +++ b/src/pfwbged/collection/pfwbcollection.js @@ -519,18 +519,6 @@ function select_metatype(elem) $.querywidget.updateSearch(); }); - $('option[data-index]').parents('select').change(function() { - index = $(this).find('option[data-index]:selected').data('index'); - if ($('option[value="' + index + '"]:selected').length == 0) { - $('.addIndex option[value="' + index + '"]').prop('selected', true); - $('.addIndex').trigger('change'); - var criteria_div = $('option[value="' + index + '"]:selected').parents('select').parent().detach(); - criteria_div.appendTo('.more-fieldset .criteria-content'); - criteria_div.find('select.queryindex').prop('disabled', true); - $($(this).find('option[data-index]').parents('select').find('option')[0]).prop('selected', true); - } - return false; - }); $('#formfield-form-widgets-query').hide(); $('#formfield-form-widgets-sort_on').hide();