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
=== modified file 'webclient/frack/resources/changeticket.html'
--- webclient/frack/resources/changeticket.html 2012-05-20 05:35:56 +0000
+++ webclient/frack/resources/changeticket.html 2012-10-22 08:09:24 +0000
@@ -1,3 +1,4 @@
1<form id="propertyform">
1<h3><a id="edit">Add/Change #{{id}} ({{summary}})</a></h3>2<h3><a id="edit">Add/Change #{{id}} ({{summary}})</a></h3>
2 <div class="field">3 <div class="field">
3 <fieldset class="iefix">4 <fieldset class="iefix">
@@ -148,3 +149,4 @@
148 <input type="button" name="preview" value="Preview" />149 <input type="button" name="preview" value="Preview" />
149 <input type="button" name="sumbit" value="Submit changes" />150 <input type="button" name="sumbit" value="Submit changes" />
150 </div>151 </div>
152</form>
151153
=== modified file 'webclient/frack/ticketPage.js'
--- webclient/frack/ticketPage.js 2012-05-20 05:35:56 +0000
+++ webclient/frack/ticketPage.js 2012-10-22 08:09:24 +0000
@@ -70,7 +70,7 @@
70 };70 };
71 onSubmit(response.id, data);71 onSubmit(response.id, data);
72 }72 }
73 fill("propertyform", changeticket_form, response);73 fill("modifyticket", changeticket_form, response);
74 q("#propertyform input[name='sumbit']").connect("onclick",74 q("#propertyform input[name='sumbit']").connect("onclick",
75 submitChangeForm);75 submitChangeForm);
76 }76 }
@@ -84,4 +84,4 @@
84 box.text(e);84 box.text(e);
85 }85 }
86 };86 };
87});
88\ No newline at end of file87\ No newline at end of file
88});
8989
=== modified file 'webclient/ticket.html'
--- webclient/ticket.html 2012-10-10 05:52:47 +0000
+++ webclient/ticket.html 2012-10-22 08:09:24 +0000
@@ -48,8 +48,7 @@
48 <div id="errorbox"></div>48 <div id="errorbox"></div>
49 <div id="ticketbox"></div>49 <div id="ticketbox"></div>
50 <div id="changelog"></div>50 <div id="changelog"></div>
51 <form id="propertyform"></form>51 <div id="modifyticket"></div>
52 </div>52 </div>
53
54</div>53</div>
55</body></html>54</body></html>

Subscribers

People subscribed via source and target branches

to all changes: