From 78a5f25336ae1b7b9489c8ca475086e9714c43dc Mon Sep 17 00:00:00 2001 From: Dylan William Hardison Date: Tue, 22 Aug 2017 16:33:24 -0400 Subject: cleanup some stuff in new-bug (#215) --- .../default/bug_modal/common_new_comment.html.tmpl | 57 ---------------------- extensions/BugModal/web/new_bug.js | 4 +- 2 files changed, 2 insertions(+), 59 deletions(-) delete mode 100644 extensions/BugModal/template/en/default/bug_modal/common_new_comment.html.tmpl (limited to 'extensions/BugModal') diff --git a/extensions/BugModal/template/en/default/bug_modal/common_new_comment.html.tmpl b/extensions/BugModal/template/en/default/bug_modal/common_new_comment.html.tmpl deleted file mode 100644 index 80c42623b..000000000 --- a/extensions/BugModal/template/en/default/bug_modal/common_new_comment.html.tmpl +++ /dev/null @@ -1,57 +0,0 @@ -[%# This Source Code Form is subject to the terms of the Mozilla Public - # License, v. 2.0. If a copy of the MPL was not distributed with this - # file, You can obtain one at http://mozilla.org/MPL/2.0/. - # - # This Source Code Form is "Incompatible With Secondary Licenses", as - # defined by the Mozilla Public License, v. 2.0. - #%] - -[%# - # comment: comment object - # bug: bug object - #%] - -
- - [% IF bug && !bug.check_can_change_field('longdesc', 0, 1) %] -
- You are not allowed to make an additional comment on this [% terms.bug %]. -
- [% RETURN %] - [% END %] - - [% IF bug && user.is_insider %] -
- - -
- [% END %] - - - - -
- -
- -
diff --git a/extensions/BugModal/web/new_bug.js b/extensions/BugModal/web/new_bug.js index 7298b1d20..9c1d00854 100644 --- a/extensions/BugModal/web/new_bug.js +++ b/extensions/BugModal/web/new_bug.js @@ -63,8 +63,8 @@ $(document).ready(function() { options: [], preload: true, create: false, - load: function(query, callback) { - callback(initial.products); + load: function(query, callback) { + callback(initial.products); } }); }, -- cgit v1.2.3-24-g4f1b