E
E
Eugene2017-04-10 10:50:50
PHP
Eugene, 2017-04-10 10:50:50

Bitrix. How can I hide the filter condition in the infoblock?

How to get rid of this element?? it is necessary that the filter always work hidden and the user could not remove the condition. I managed to hide the input field and the title as table elements. How to make it so that for a specific search condition, the "hide search condition" element was not shown?
9088c46e3bbb45e68b0d2c655a71ea36.png
it is processed in the script: core_admin_interface.js with
this line of code:

td.innerHTML = '<span class="adm-filter-item-delete" onclick="this.blur(); '+this.filter_id+'.DeleteFilterRow(\''+row.id+'\');" hidefocus="true" title="'+phpVars.messFilterLess+'" style="display: none;"></span>';
    }

Answer the question

In order to leave comments, you need to log in

2 answer(s)
E
Eugene, 2017-04-10
@iamd503

css fix for example

D
Denis Artamonov, 2017-04-14
@ArtamonovDenis

Those. Are you trying to rewrite styles and core js?
I think that in your case it would be better to move your logic into your own / separate module, and already implement what you want in it

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question