Ignore:
Timestamp:
Jan 17, 2013, 7:38:54 PM (11 years ago)
Author:
flop25
Message:

bug:2820 & bug:2684
much better code : ability to pass max_requests to the js file like error_icon

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/themes/default/js/thumbnails.loader.js

    r20211 r20212  
     1if ( typeof( max_requests ) == "undefined" )
     2  max_requests = 3;
     3
    14var thumbnails_queue = jQuery.manageAjax.create('queued', {
    25  queue: true, 
    36  cacheResponse: false,
    4   maxRequests: 3,
     7  maxRequests: max_requests,
    58  preventDoubleRequests: false
    69});
Note: See TracChangeset for help on using the changeset viewer.