|
Lines 170-175
Link Here
|
| 170 |
<li><label for="op_modify_all">Modify all: </label><input type="radio" name="op" value="modify_all" id="op_modify_all" /></li> |
170 |
<li><label for="op_modify_all">Modify all: </label><input type="radio" name="op" value="modify_all" id="op_modify_all" /></li> |
| 171 |
</ol> |
171 |
</ol> |
| 172 |
</fieldset> |
172 |
</fieldset> |
|
|
173 |
<fieldset class="brief" id="modify_all_hint" style="display: none;"> |
| 174 |
<div class="hint"> |
| 175 |
This will perform the modifications directly, without a confirmation step. |
| 176 |
</div> |
| 177 |
</fieldset> |
| 173 |
<fieldset class="action"> |
178 |
<fieldset class="action"> |
| 174 |
<input type="hidden" name="op" value="cud-list" /> |
179 |
<input type="hidden" name="op" value="cud-list" /> |
| 175 |
<input type="submit" class="btn btn-primary" value="Continue" /> |
180 |
<input type="submit" class="btn btn-primary" value="Continue" /> |
|
Lines 337-343
Link Here
|
| 337 |
$("a[href='#uploadfile_tab_panel']").tab("show"); |
342 |
$("a[href='#uploadfile_tab_panel']").tab("show"); |
| 338 |
} |
343 |
} |
| 339 |
} |
344 |
} |
|
|
345 |
|
| 340 |
$(document).ready(function() { |
346 |
$(document).ready(function() { |
|
|
347 |
let $modify_all_hint = $('#modify_all_hint'); |
| 348 |
$("input[type=radio][name=op]").change(function() { |
| 349 |
if (this.value === "modify_all") { |
| 350 |
$modify_all_hint.show(); |
| 351 |
} |
| 352 |
else { |
| 353 |
$modify_all_hint.hide(); |
| 354 |
} |
| 355 |
}).filter(':checked').trigger('change'); |
| 341 |
|
356 |
|
| 342 |
update_tab_display(); |
357 |
update_tab_display(); |
| 343 |
$("input[type='radio']").click(function() { |
358 |
$("input[type='radio']").click(function() { |
| 344 |
- |
|
|