Skip to content

Commit

Permalink
Fix update mor/phy
Browse files Browse the repository at this point in the history
  • Loading branch information
eldy committed Jul 20, 2024
1 parent 8f9ce1e commit a525da2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion htdocs/public/members/new.php
Original file line number Diff line number Diff line change
Expand Up @@ -728,7 +728,7 @@ function initmorphy()
print '<script type="text/javascript">
jQuery(document).ready(function () {
initturnover();
jQuery("#morphy").click(function() {
jQuery("#morphy").change(function() {
initturnover();
});
jQuery("#budget").change(function() {
Expand All @@ -743,6 +743,7 @@ function initmorphy()
initturnover();
});*/
function initturnover() {
console.log("Switch mor/phy");
if (jQuery("#morphy").val()==\'phy\') {
jQuery(".amount").val(20);
jQuery("#trbudget").hide();
Expand Down

0 comments on commit a525da2

Please sign in to comment.