prefs: show root of filter tree as enabled so it's not grayed out

This commit is contained in:
Andrew Dolgov 2020-07-01 09:48:27 +03:00
parent c352e872e9
commit 2996a3942f
1 changed files with 2 additions and 1 deletions

View File

@ -238,6 +238,7 @@ class Pref_Filters extends Handler_Protected {
$root = array();
$root['id'] = 'root';
$root['name'] = __('Filters');
$root['enabled'] = true;
$root['items'] = array();
$filter_search = $_SESSION["prefs_filter_search"];
@ -965,7 +966,7 @@ class Pref_Filters extends Handler_Protected {
print "<section>";
print "<textarea dojoType='fox.form.ValidationTextArea'
required='true' id='filterDlg_regExp'
required='true' id='filterDlg_regExp'
ValidRegExp='true'
rows='4'
style='font-size : 14px; width : 490px; word-break: break-all'