From 87ea099f0508e75ae95eae46829c3a867aef56ab Mon Sep 17 00:00:00 2001 From: nathangray Date: Mon, 3 Dec 2018 15:29:57 -0700 Subject: [PATCH] Calendar - fix selecting 'Select all' did not consistently set select_all in calendar listview --- api/js/etemplate/et2_dataview_controller_selection.js | 2 ++ calendar/inc/class.calendar_uilist.inc.php | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/api/js/etemplate/et2_dataview_controller_selection.js b/api/js/etemplate/et2_dataview_controller_selection.js index 7346dc1f36..07ab1595dd 100644 --- a/api/js/etemplate/et2_dataview_controller_selection.js +++ b/api/js/etemplate/et2_dataview_controller_selection.js @@ -261,6 +261,8 @@ var et2_dataview_selectionManager = (function(){ "use strict"; return Class.exte var entry = this._registeredRows[key]; this._updateEntryState(entry, entry.state); } + + this._selectAll = true; }, getSelected: function () { diff --git a/calendar/inc/class.calendar_uilist.inc.php b/calendar/inc/class.calendar_uilist.inc.php index 85d1e10ed1..0386c35a27 100644 --- a/calendar/inc/class.calendar_uilist.inc.php +++ b/calendar/inc/class.calendar_uilist.inc.php @@ -914,7 +914,6 @@ class calendar_uilist extends calendar_ui ), 'select_all' => array( 'caption' => 'Whole query', - 'checkbox' => true, 'hint' => 'Apply the action on the whole query, NOT only the shown events', 'group' => ++$group, ),