Changeset e6c1f87 for public/assets
- Timestamp:
- 10/18/21 19:54:18 (3 years ago)
- Branches:
- develop, master
- Children:
- b9c4a92
- Parents:
- bd9e8e3
- Location:
- public/assets
- Files:
-
- 1 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
public/assets/js/app.js
rbd9e8e3 re6c1f87 916 916 $(".edit_document_deparment").change(function() { 917 917 var archId = $("input[name='arch_id']"); 918 var currentArchId = archId.val(); 919 var currentText = currentArchId.split("/")[1]; 920 var selectedId = $(this).find('option:selected').val(); 921 922 if(currentText.length) { 918 var currentText = archId.val().split("/")[1]; 919 var selectedId = $(this).find('option:selected').data('dept-code'); 920 if(currentText) 923 921 archId.val(selectedId + "/" + currentText); 924 } else {922 else 925 923 archId.val(selectedId + "/"); 926 }927 924 }); 928 925
Note:
See TracChangeset
for help on using the changeset viewer.