Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixed renew button issue in course proposal page #1258

Closed
wants to merge 3 commits into from

Conversation

ali-ramazani
Copy link
Member

Issue Number: 1257 | Issue Link: 1257

The renew button had an issue and the renew function wasn't catching the value sent from the UI. The problem was the ajax call wasn't being made and the function wasn't returning anything. We fixed it by adding $('#renewBtn').on('click', renew); to the .ready() function at the top to capture ajax call.

@ali-ramazani ali-ramazani mentioned this pull request Jul 2, 2024
@ali-ramazani ali-ramazani self-assigned this Jul 2, 2024
@MImran2002
Copy link
Contributor

Ali, the View side is perfect so does the JavaScript file just need some clean up I feel like comments on line 45 and 48 can be deleted as they are repeating what the code below does when the codes after the comment are easy to understand.

Copy link

View Code Coverage

@bledsoef
Copy link
Contributor

Already fixed this and the additional renew onclick you added is unnecessary, thank you though!

@bledsoef bledsoef closed this Aug 25, 2024
@bledsoef bledsoef deleted the renew-btn-issue-f branch August 25, 2024 03:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants