Your Cart is currently empty!
Product update
Coupon
add
Coupon code invalid! Please re-enter!
AJAX loader
You are here: HomeForum
Welcome, Guest

The Sj Contact Ajax stopped working properly
(1 viewing) (1) Guest
  • Page:
  • 1
  • 2

TOPIC: The Sj Contact Ajax stopped working properly

Re: The Sj Contact Ajax stopped working properly 8 years ago #27870

  • thuyltt
Dear sir,
Please submit ticket we will check this issue for you.

Thanks.
The topic has been locked.

Re: The Sj Contact Ajax stopped working properly 7 years, 12 months ago #28079

Had the same issue and fixed it myself :

1. Locate the following file
your_root_directory/templates/your_template/html/mod_sj_contact_ajax/default_js.php
2. Open the file for edit with Notepad++ or another text editor
3 Find the following lines (2 each)
- success:function(data){
- complete:function(data){
4. RIGHT AFTER EACH ONE, just add the following line of code:

$image_load.css('display','none');

5. Save the file and re-upload it

You should be all set....

Cheers

Philippe
Last Edit: 7 years, 12 months ago by phil91.
The topic has been locked.

Re: The Sj Contact Ajax stopped working properly 7 years, 12 months ago #28080

Hi Philippe

The line:
$image_load.css('display','none');
was already the first line after: success:function(data){

I tried adding it after: complete:function(data){
but to no avail

I see SmartAddons got their demo working, would be nice to know what they had to change.

Kind regards
Aegir
The topic has been locked.

Re: The Sj Contact Ajax stopped working properly 7 years, 12 months ago #28081

Hi Aegir,

I think you did not completely read my post: there are TWO occurrences of the success and complete functions in the file

They both depend on whether you use a custom captcha OR the recaptcha. I guess you are using the recaptcha and this is exactly what happened to me.
Re-examine the file and locate the TWO success and complete functions and add the $image_load.css('display','none'); right after both of them...

This should be around lines 288 and 297 for the first part and around lines 334 and 350 for the second set.

Cheers

Philippe
Last Edit: 7 years, 12 months ago by phil91.
The topic has been locked.
  • Page:
  • 1
  • 2
Time to create page: 0.28 seconds

Notification

Please find your issue via Suggested Posts before submitting your question. We have solved the most of issues and maybe your issue was solved before.

Latest My Topics

No posts to display.

Love all our templates?

Join our membership clubs starting at $49 only for access to all of our templates

Join Now
Home Pricing
Your Cart is currently empty!
Product update
Coupon
add
Coupon code invalid! Please re-enter!
AJAX loader
SearchSupport
Magento Themes Magento Extensions Free Magento Extensions Prestashop Themes Prestashop Modules Magento 2 Themes