Changeset 18737 for extensions/Autosize
- Timestamp:
- Oct 25, 2012, 4:36:50 PM (11 years ago)
- Location:
- extensions/Autosize/js
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/Autosize/js/Affiche_script.js
r18735 r18737 608 608 .error(function (e) { 609 609 if (!this.complete) { 610 jQuery(this).hide(); 610 src = jQuery(this).attr("src").replace("./_data/i/","",1); 611 jQuery.ajax({ 612 type: 'GET', 613 url: 'i.php?' + src + "&ajaxload=true", 614 dataType: 'json', 615 success: (function (data) { 616 j = data; 617 }) 618 619 }); 620 621 611 622 612 623 } … … 1316 1327 options.theImageMargeZone = Zone_image.marges; 1317 1328 if (Type_Img != 'charlie') { 1318 if (options.pictureSelType != "SelMaxi" && options.pictureSelType != "Autosize" 1319 return;1329 if (options.pictureSelType != "SelMaxi" && options.pictureSelType != "Autosize") { 1330 return; 1320 1331 } else { 1321 1332 IMg = Get_Maxi(Zone_image.image); … … 2161 2172 2162 2173 2163 }); // ready2174 }); // ready 2164 2175 2165 2176 -
extensions/Autosize/js/autosize_ajax.js
r18735 r18737 19 19 if (success) { 20 20 jQuery("#theMainImage").height(params.height[derivatives.done]); 21 jQuery("#theMainImage").width(params.width[derivatives.done]); 22 21 23 jQuery("#theMainImage").show(); 22 24 jQuery("#theMainImage").trigger("ON", [{ nb: derivatives.total - derivatives.done, total: derivatives.total, done: derivatives.done,status:"ok",src:data.url}]);
Note: See TracChangeset
for help on using the changeset viewer.