Changeset bd9e8e3 for resources/assets
- Timestamp:
- 10/17/21 20:28:35 (3 years ago)
- Branches:
- develop, master
- Children:
- e6c1f87
- Parents:
- d795fa6
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
resources/assets/js/custom.js
rd795fa6 rbd9e8e3 5 5 $(document).on('click', '.layout-builder .layout-builder-toggle', function () { 6 6 $('.layout-builder').toggleClass('show'); 7 }); 8 9 $(".edit_document_deparment").change(function() { 10 var archId = $("input[name='arch_id']"); 11 var currentArchId = archId.val(); 12 var currentText = currentArchId.split("/")[1]; 13 var selectedId = $(this).find('option:selected').val(); 14 15 if(currentText.length) { 16 archId.val(selectedId + "/" + currentText); 17 } else { 18 archId.val(selectedId + "/"); 19 } 7 20 }); 8 21
Note:
See TracChangeset
for help on using the changeset viewer.