Skip to content

Commit

Permalink
⚡ Added a fix for multiple clicks issue
Browse files Browse the repository at this point in the history
  • Loading branch information
jaydeeptrivedi13 committed Jan 13, 2025
1 parent 26ff9af commit 9578dcd
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
4 changes: 3 additions & 1 deletion edwiser-bridge/admin/assets/js/eb-admin.js
Original file line number Diff line number Diff line change
Expand Up @@ -337,6 +337,7 @@
// Set some variables
var time = '10000';
var container = jQuery('.response-box');
container.addClass('lol');
// Generate the HTML
var html = '<div class="alert alert-' + type + '">' + text + '</div>';
// Append the label to the container
Expand Down Expand Up @@ -783,7 +784,7 @@
var $this = $(this);
var checks = ['json_valid', 'token_validation', 'server_blocking_check', 'permalink_setting',
'get_endpoint', 'post_endpoint' ];

jQuery(this).attr('disabled', 'disabled');
start_diagnostics(url, token, $this, checks);
});

Expand All @@ -807,6 +808,7 @@
completed++;
if (completed == 6) {// checks count
jQuery('.run-diagnostics-start h2').html(eb_admin_js_object.diagnostics_completed);
jQuery('#eb_diagnose_issues_button').removeAttr('disabled');
}
console.log('--->', check + res);
});
Expand Down
3 changes: 2 additions & 1 deletion edwiser-bridge/admin/assets/js/eb-setup-wizard.js
Original file line number Diff line number Diff line change
Expand Up @@ -658,7 +658,7 @@
} else {
var checks = ['json_valid', 'token_validation', 'permalink_setting'];
}

jQuery(this).attr('disabled', 'disabled');
start_diagnostics(url, token, $this, checks);
});

Expand All @@ -682,6 +682,7 @@
completed++;
if (completed == 6) {// checks count
jQuery('.run-diagnostics-start h2').html(eb_setup_wizard.diagnostics_completed);
jQuery('.eb_setup_diagnostics_btn').removeAttr('disabled');
}
console.log('--->', check + res);
});
Expand Down
7 changes: 5 additions & 2 deletions edwiser-bridge/readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,10 @@ Edwiser Bridge integrates WordPress with Moodle LMS & provides an easy option to

== Description ==

# Edwiser Bridge – The **#1 WordPress and Moodle Integration plugin** that provides a robust platform to **sell Moodle courses online.**
https://youtu.be/Af4BIhN1kV8


## Edwiser Bridge – The #1 WordPress and Moodle Integration plugin to sell Moodle courses online.

**Are you a Moodle user, who creates courses and wants a robust integration with WordPress/WooCommerce to sell them?**

Expand All @@ -24,7 +27,7 @@ Edwiser Bridge provides the necessary platform for you to sell your Moodle cours

So to enhance its functionality and achieve a fully automated WooCommerce Solution for the purpose of selling your Moodle courses, you may consider choosing Edwiser Bridge Pro to be installed on both your Moodle and WordPress sites.

[Edwiser Bridge – Moodle Add On](https://edwiser.org/plugins/edwiserbridge.zip) | [Edwiser Bridge Pro](https://edwiser.org/bridge-wordpress-moodle-integration/?utm_source=wordpress&utm_medium=landingpage&utm_campaign=EBFreePlugin)
[Edwiser Bridge – Moodle Add On](https://edwiser.org/plugins/edwiserbridge.zip) | [Edwiser Bridge Pro: Best Moodle plugin to Sell Moodle Courses](https://edwiser.org/bridge-wordpress-moodle-integration/?utm_source=wordpress&utm_medium=landingpage&utm_campaign=EBFreePlugin)


#**🆕 Get Your Course Shop with Edwiser’s E-commerce Site Setup! [Learn More!](https://edwiser.helpscoutdocs.com/article/574-introducing-the-edwiser-bridge-quick-start-service)**
Expand Down

0 comments on commit 9578dcd

Please sign in to comment.