Jump to content

  • You cannot start a new topic
  • You cannot reply to this topic

How To Not Show Loading Box Rate Topic   - - - - -

 
  • masoud_tesna
  • Advanced Member
  • Trial users
  • Join Date: 27-Jun 19
  • 57 posts

Posted 14 July 2020 - 11:53 AM #1

hi friends..

i use ajax in page by javascript:

  $(document).ready(function(){

      $.ceAjax('request', fn_url('panel.refresh_left_panel'), {
          cache: false,
          callback: function(data) {
              $('#count-req').text(data['count-req']);
          }
      });

  });

I don't want the loading_box to be displayed only in this code:

<div id="ajax_overlay" class="ty-ajax-overlay"></div>
<div id="ajax_loading_box" class="ty-ajax-loading-box"></div>

i use:

beforeSend:function(){
    $("#ajax_overlay").hide();
    $("#ajax_loading_box").hide();
},

please help me... tanks



 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 20910 posts

Posted 14 July 2020 - 01:23 PM #2

Just add

hidden: true,

after

cache: false,

GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 345     Multi-Vendor              USD 1250    Multi-Vendor PLUS           USD 3100 (2775)
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      Multi-Vendor Ultimate       USD 7500 (6000)

 
  • masoud_tesna
  • Advanced Member
  • Trial users
  • Join Date: 27-Jun 19
  • 57 posts

Posted 15 July 2020 - 10:45 AM #3

 

Just add

hidden: true,

after

cache: false,

Worked.. Thank you very much.. :wub: :wub:



 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 20910 posts

Posted 15 July 2020 - 01:15 PM #4

You are welcome! :)


GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 345     Multi-Vendor              USD 1250    Multi-Vendor PLUS           USD 3100 (2775)
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      Multi-Vendor Ultimate       USD 7500 (6000)