From 9c75c64203c1c1c69b1c7ae2ec7092b44a05122c Mon Sep 17 00:00:00 2001 From: Byron Jones Date: Thu, 11 Feb 2016 11:44:39 +0800 Subject: Bug 1235182 - User Story should always be visible --- extensions/BugModal/template/en/default/bug_modal/edit.html.tmpl | 1 + extensions/BugModal/template/en/default/bug_modal/module.html.tmpl | 3 +++ extensions/BugModal/web/bug_modal.js | 1 + 3 files changed, 5 insertions(+) diff --git a/extensions/BugModal/template/en/default/bug_modal/edit.html.tmpl b/extensions/BugModal/template/en/default/bug_modal/edit.html.tmpl index 6495b8df1..9b6e0ebd4 100644 --- a/extensions/BugModal/template/en/default/bug_modal/edit.html.tmpl +++ b/extensions/BugModal/template/en/default/bug_modal/edit.html.tmpl @@ -1030,6 +1030,7 @@ title = "User Story" hide_on_view = bug.cf_user_story == "" collapsed = bug.cf_user_story == "" + no_collapse_persist = 1 %] [% IF user.id %]
diff --git a/extensions/BugModal/template/en/default/bug_modal/module.html.tmpl b/extensions/BugModal/template/en/default/bug_modal/module.html.tmpl index a36747f97..92b37543a 100644 --- a/extensions/BugModal/template/en/default/bug_modal/module.html.tmpl +++ b/extensions/BugModal/template/en/default/bug_modal/module.html.tmpl @@ -17,6 +17,8 @@ # content: (string, required) module's content (use WRAPPER module..) # hide_on_view: (boolean) if true, the module won't be visible in view mode # hide_on_edit: (boolean) if true, the module won't be visible in edit mode + # no_collapse_persist: (boolean) if true, the module's collapsed state will + # not be remembered between page loads #%]