summaryrefslogtreecommitdiffstats
path: root/extensions/BugModal
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/BugModal')
-rw-r--r--extensions/BugModal/Extension.pm14
1 files changed, 12 insertions, 2 deletions
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;