Unverified Commit 72748171 authored by alexpott's avatar alexpott

Issue #3013216 by alloyroger, anushrikumari, Kristen Pol, Lendude:...

Issue #3013216 by alloyroger, anushrikumari, Kristen Pol, Lendude: viewsUi.RearrangeFilterHandler: addGroupButton & removeGroupButtons selectors too specific for all themes
parent 074e9215
......@@ -709,12 +709,12 @@
*
* @type {jQuery}
*/
this.addGroupButton = $('input#views-add-group');
this.addGroupButton = $('#views-add-group');
/**
* @type {jQuery}
*/
this.removeGroupButtons = $table.find('input.views-remove-group');
this.removeGroupButtons = $table.find('.views-remove-group');
// Add links that duplicate the functionality of the (hidden) add and remove
// buttons.
......
......@@ -317,8 +317,8 @@
this.operator = $operator;
this.hasGroupOperator = this.operator.length > 0;
this.draggableRows = $table.find('.draggable');
this.addGroupButton = $('input#views-add-group');
this.removeGroupButtons = $table.find('input.views-remove-group');
this.addGroupButton = $('#views-add-group');
this.removeGroupButtons = $table.find('.views-remove-group');
this.insertAddRemoveFilterGroupLinks();
if (this.hasGroupOperator) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment