Lines 55-61
Link Here
|
55 |
|
55 |
|
56 |
<fieldset class="rows"> |
56 |
<fieldset class="rows"> |
57 |
<ol> |
57 |
<ol> |
58 |
<li><label for="date_selected">Issue: </label> |
58 |
<li><label for="date_selected_top">Issue: </label> |
59 |
<select name="date_selected_top" id="date_selected_top" class="date_selected_top"> |
59 |
<select name="date_selected_top" id="date_selected_top" class="date_selected_top"> |
60 |
[% FOREACH date IN dates %] |
60 |
[% FOREACH date IN dates %] |
61 |
[% IF ( date.selected ) %] |
61 |
[% IF ( date.selected ) %] |
Lines 118-136
Link Here
|
118 |
</form> |
118 |
</form> |
119 |
</li> |
119 |
</li> |
120 |
|
120 |
|
121 |
<form method="post" action="routing.pl"> |
121 |
<li> |
|
|
122 |
<form method="post" action="routing.pl" id="save_note_form"> |
122 |
[% INCLUDE 'csrf-token.inc' %] |
123 |
[% INCLUDE 'csrf-token.inc' %] |
123 |
<input type="hidden" name="op" value="cud-save" /> |
124 |
<input type="hidden" name="op" value="cud-save" /> |
124 |
<input type="hidden" name="subscriptionid" value="[% subscriptionid | html %]" /> |
125 |
<input type="hidden" name="subscriptionid" value="[% subscriptionid | html %]" /> |
125 |
<input type="hidden" id="date_selected" name="date_selected" value="" /> |
126 |
<input type="hidden" id="date_selected" name="date_selected" value="" /> |
126 |
|
127 |
|
127 |
<li><label for="notes">Notes:</label><textarea name="notes" id="notes" rows="3" cols="50">[% routingnotes | html %]</textarea></li> |
128 |
<label for="notes">Notes:</label><textarea name="notes" id="notes" rows="3" cols="50">[% routingnotes | html %]</textarea> |
128 |
</ol> |
129 |
</form> |
|
|
130 |
</li> |
131 |
</ol> |
129 |
|
132 |
|
130 |
|
133 |
|
131 |
</fieldset> |
134 |
</fieldset> |
132 |
<fieldset class="action"><input type="submit" name="submit" class="btn btn-primary" value="Save" /></fieldset> |
135 |
<fieldset class="action"><input type="submit" id="submit_save_note_form" name="submit" class="btn btn-primary" value="Save" /></fieldset> |
133 |
</form> |
|
|
134 |
|
136 |
|
135 |
</main> |
137 |
</main> |
136 |
</div> <!-- /.col-md-10.order-md-2 --> |
138 |
</div> <!-- /.col-md-10.order-md-2 --> |
Lines 153-158
Link Here
|
153 |
$(".date_selected_top").on("change",function(){ |
155 |
$(".date_selected_top").on("change",function(){ |
154 |
$("#date_selected").val( $(this).val() ); |
156 |
$("#date_selected").val( $(this).val() ); |
155 |
}); |
157 |
}); |
|
|
158 |
|
159 |
$("#submit_save_note_form").on("click", function(e){ |
160 |
e.preventDefault(); |
161 |
return $("#save_note_form").submit(); |
162 |
}); |
156 |
}); |
163 |
}); |
157 |
function reorder_item(sid,rid,rank){ |
164 |
function reorder_item(sid,rid,rank){ |
158 |
var mylocation = 'reorder_members.pl?subscriptionid='+sid+'&routingid='+rid+'&rank='+rank; |
165 |
var mylocation = 'reorder_members.pl?subscriptionid='+sid+'&routingid='+rid+'&rank='+rank; |
159 |
- |
|
|