diff --git a/js/search/search_form_criteria_string.js b/js/search/search_form_criteria_string.js index 7359ce2f0d..b659c6cb18 100644 --- a/js/search/search_form_criteria_string.js +++ b/js/search/search_form_criteria_string.js @@ -68,33 +68,5 @@ $(function() //------------------ // Inherited methods //------------------ - - // DOM element helpers - // TODO: Remove this function after UX tests - _prepareOperators: function() - { - this._super(); - - if(this.options.ref === 'UserRequest.ref') - { - // Remove starts/ends_with - this.element.find('.sfc_fg_operator[data-operator-code*="with"]').remove(); - - // Modify contains with a dropdown - this.element.find('.sfc_fg_operator[data-operator-code="contains"] .sfc_op_name') - .html('') - .css('margin-right', '5px'); - - // Remove click event on dropdown - this.element.find('.sfc_fg_operator[data-operator-code="contains"] .sfc_op_name').on('click', function(oEvent){ - oEvent.preventDefault(); - oEvent.stopPropagation(); - }); - - this.element.find('.sfc_fg_operator[data-operator-code="contains"] .sfc_op_name select').on('change', function(){ - $(this).closest('.sfc_fg_operator').find('.sfc_op_content input:first').trigger('focus'); - }); - } - }, }); });