Skip to content
Snippets Groups Projects
Commit 44371b1a authored by François Gannaz's avatar François Gannaz
Browse files

M#6183 /verification/wikidata changer une propriété efface les filtres

parent be9f3a08
No related branches found
No related tags found
No related merge requests found
......@@ -150,3 +150,12 @@ $this->widget('ext.bootstrap.widgets.BootGridView', [
],
],
]);
Yii::app()->clientScript->registerScript('changeProperty', <<<JS
document.querySelector('select[name="Wikidata[property]"]').addEventListener('change', function() {
for (let x of document.querySelectorAll('.filter-container input')) {
x.value = '';
}
});
JS
);
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment