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