From c8cf2b58bae632b6801337971323d37cf9f5a0f0 Mon Sep 17 00:00:00 2001 From: David Lawrence Date: Wed, 21 Oct 2015 03:00:37 +0000 Subject: Bug 1209599 - group general preferences by category --- extensions/BugModal/Extension.pm | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) (limited to 'extensions/BugModal') diff --git a/extensions/BugModal/Extension.pm b/extensions/BugModal/Extension.pm index 2c60ef35a..e929f3fcb 100644 --- a/extensions/BugModal/Extension.pm +++ b/extensions/BugModal/Extension.pm @@ -292,8 +292,18 @@ sub webservice { sub install_before_final_checks { my ($self, $args) = @_; - add_setting('ui_experiments', ['on', 'off'], 'off'); - add_setting('ui_remember_collapsed', ['on', 'off'], 'off'); + add_setting({ + name => 'ui_experiments', + options => ['on', 'off'], + default => 'off', + category => 'User Interface' + }); + add_setting({ + name => 'ui_remember_collapsed', + options => ['on', 'off'], + default => 'off', + category => 'User Interface' + }); # ensure the correct skin is being used my $dbh = Bugzilla->dbh; -- cgit v1.2.3-24-g4f1b