|
Lines 583-588
$(document).ready(function() {
Link Here
|
| 583 |
$("input.input_marceditor, input.indicator").addClass('noEnterSubmit'); |
583 |
$("input.input_marceditor, input.indicator").addClass('noEnterSubmit'); |
| 584 |
}); |
584 |
}); |
| 585 |
|
585 |
|
|
|
586 |
//Toggle search box |
| 587 |
$(".search_toggle").click(function(){ |
| 588 |
$(".search_toggle").toggle(); |
| 589 |
$(".cataloging_search_box").toggle("slow"); |
| 590 |
}); |
| 591 |
|
| 586 |
if ( window.editor === undefined ) { // TODO This does not work with the advanced editor |
592 |
if ( window.editor === undefined ) { // TODO This does not work with the advanced editor |
| 587 |
Select2Utils.initSelect2($('.subfield_line select[data-category=""]')); // branches, itemtypes and cn_source |
593 |
Select2Utils.initSelect2($('.subfield_line select[data-category=""]')); // branches, itemtypes and cn_source |
| 588 |
Select2Utils.initSelect2($('.subfield_line select[data-category!=""]')); |
594 |
Select2Utils.initSelect2($('.subfield_line select[data-category!=""]')); |
| 589 |
- |
|
|