Merge lp:~jjacobs/frack/1069658-empty-ticket-modification-element into lp:frack

Proposed by Jonathan Jacobs
Status: Needs review
Proposed branch: lp:~jjacobs/frack/1069658-empty-ticket-modification-element
Merge into: lp:frack
Diff against target: 47 lines (+5/-4)
3 files modified
webclient/frack/resources/changeticket.html (+2/-0)
webclient/frack/ticketPage.js (+2/-2)
webclient/ticket.html (+1/-2)
To merge this branch: bzr merge lp:~jjacobs/frack/1069658-empty-ticket-modification-element
Reviewer Review Type Date Requested Status
Allen Short Approve
Review via email: mp+130744@code.launchpad.net

Description of the change

Only show the ticket modification element when all its contents will be invisible (as opposed to none of its contents.)

To post a comment you must log in.
Revision history for this message
Allen Short (washort) :
review: Approve

Unmerged revisions

37. By Jonathan Jacobs

Move the "propertyform" form inside the changeticket.html template.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'webclient/frack/resources/changeticket.html'
2--- webclient/frack/resources/changeticket.html 2012-05-20 05:35:56 +0000
3+++ webclient/frack/resources/changeticket.html 2012-10-22 08:09:24 +0000
4@@ -1,3 +1,4 @@
5+<form id="propertyform">
6 <h3><a id="edit">Add/Change #{{id}} ({{summary}})</a></h3>
7 <div class="field">
8 <fieldset class="iefix">
9@@ -148,3 +149,4 @@
10 <input type="button" name="preview" value="Preview" />
11 <input type="button" name="sumbit" value="Submit changes" />
12 </div>
13+</form>
14
15=== modified file 'webclient/frack/ticketPage.js'
16--- webclient/frack/ticketPage.js 2012-05-20 05:35:56 +0000
17+++ webclient/frack/ticketPage.js 2012-10-22 08:09:24 +0000
18@@ -70,7 +70,7 @@
19 };
20 onSubmit(response.id, data);
21 }
22- fill("propertyform", changeticket_form, response);
23+ fill("modifyticket", changeticket_form, response);
24 q("#propertyform input[name='sumbit']").connect("onclick",
25 submitChangeForm);
26 }
27@@ -84,4 +84,4 @@
28 box.text(e);
29 }
30 };
31-});
32\ No newline at end of file
33+});
34
35=== modified file 'webclient/ticket.html'
36--- webclient/ticket.html 2012-10-10 05:52:47 +0000
37+++ webclient/ticket.html 2012-10-22 08:09:24 +0000
38@@ -48,8 +48,7 @@
39 <div id="errorbox"></div>
40 <div id="ticketbox"></div>
41 <div id="changelog"></div>
42- <form id="propertyform"></form>
43+ <div id="modifyticket"></div>
44 </div>
45-
46 </div>
47 </body></html>

Subscribers

People subscribed via source and target branches

to all changes: