|
Lines 168-173
Link Here
|
| 168 |
<li><label for="op_modify_all">Modify all: </label><input type="radio" name="op" value="modify_all" id="op_modify_all" /></li> |
168 |
<li><label for="op_modify_all">Modify all: </label><input type="radio" name="op" value="modify_all" id="op_modify_all" /></li> |
| 169 |
</ol> |
169 |
</ol> |
| 170 |
</fieldset> |
170 |
</fieldset> |
|
|
171 |
<fieldset class="brief" id="modify_all_hint" style="display: none;"> |
| 172 |
<div class="hint"> |
| 173 |
This will perform the modifications directly, without a confirmation step. |
| 174 |
</div> |
| 175 |
</fieldset> |
| 171 |
<fieldset class="action"> |
176 |
<fieldset class="action"> |
| 172 |
<input type="hidden" name="op" value="cud-list" /> |
177 |
<input type="hidden" name="op" value="cud-list" /> |
| 173 |
<input type="submit" class="btn btn-primary" value="Continue" /> |
178 |
<input type="submit" class="btn btn-primary" value="Continue" /> |
|
Lines 328-333
Link Here
|
| 328 |
update_tab_display(); |
333 |
update_tab_display(); |
| 329 |
}); |
334 |
}); |
| 330 |
|
335 |
|
|
|
336 |
let $modify_all_hint = $('#modify_all_hint'); |
| 337 |
$("input[type=radio][name=op]").change(function() { |
| 338 |
if (this.value === "modify_all") { |
| 339 |
$modify_all_hint.show(); |
| 340 |
} |
| 341 |
else { |
| 342 |
$modify_all_hint.hide(); |
| 343 |
} |
| 344 |
}).filter(':checked').trigger('change'); |
| 345 |
|
| 331 |
$("#selectall").click(function(e){ |
346 |
$("#selectall").click(function(e){ |
| 332 |
e.preventDefault(); |
347 |
e.preventDefault(); |
| 333 |
$(".records input[type='checkbox']").each(function(){ |
348 |
$(".records input[type='checkbox']").each(function(){ |
| 334 |
- |
|
|