-
Notifications
You must be signed in to change notification settings - Fork 0
/
patch_4.x.patch
52 lines (48 loc) · 1.85 KB
/
patch_4.x.patch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
=== modified file 'template/en/default/bug/create/create.html.tmpl'
--- template/en/default/bug/create/create.html.tmpl 2012-01-11 20:13:42 +0000
+++ template/en/default/bug/create/create.html.tmpl 2012-01-19 14:45:20 +0000
@@ -41,7 +41,7 @@
<script type="text/javascript">
<!--
-
+[%+ INCLUDE "assigneelist/bugcreate.js.tmpl" %]
var initialowners = new Array([% product.components.size %]);
var last_initialowner;
var initialccs = new Array([% product.components.size %]);
@@ -102,6 +102,7 @@
if (index != -1) {
var owner = initialowners[index];
var component = components[index];
+ populateAssignees(index);
if (assigned_to == last_initialowner
|| assigned_to == owner
|| assigned_to == '') {
@@ -383,7 +384,7 @@
field = bug_fields.assigned_to editable = 1
%]
<td colspan="2">
- [% INCLUDE global/userselect.html.tmpl
+ [% INCLUDE assigneelist/userselect.html.tmpl
id => "assigned_to"
name => "assigned_to"
value => assigned_to
=== modified file 'template/en/default/bug/edit.html.tmpl'
--- template/en/default/bug/edit.html.tmpl 2011-12-05 18:58:12 +0000
+++ template/en/default/bug/edit.html.tmpl 2012-01-19 11:41:15 +0000
@@ -32,7 +32,7 @@
<script type="text/javascript">
<!--
-
+ [%+ INCLUDE "assigneelist/bugedit.js.tmpl" %]
/* Outputs a link to call replyToComment(); used to reduce HTML output */
function addReplyLink(id, real_id) {
/* XXX this should really be updated to use the DOM Core's
@@ -473,7 +473,7 @@
</span>
</div>
<div id="bz_assignee_input">
- [% INCLUDE global/userselect.html.tmpl
+ [% INCLUDE assigneelist/userselect.html.tmpl
id => "assigned_to"
name => "assigned_to"
value => bug.assigned_to.login