Changeset 9064


Ignore:
Timestamp:
02/02/11 15:43:06 (9 years ago)
Author:
plg
Message:

bug 2177 fixed: automatically select thumbnails on current page when selecting
the whole set.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/themes/default/template/batch_manager_global.tpl

    r8723 r9064  
    167167 
    168168  $("#selectAll").click(function () { 
     169    $("input[name=setSelected]").attr('checked', false); 
     170    selectPageThumbnails(); 
     171    checkPermitAction(); 
     172    return false; 
     173  }); 
     174 
     175  function selectPageThumbnails() { 
    169176    $(".thumbnails label").each(function() { 
    170177      var wrap2 = $(this).children(".wrap2"); 
     
    174181      $(wrap2).addClass("thumbSelected");  
    175182    }); 
    176  
    177     checkPermitAction(); 
    178  
    179     return false; 
    180   }); 
     183  } 
    181184 
    182185  $("#selectNone").click(function () { 
     
    215218 
    216219  $("#selectSet").click(function () { 
     220    selectPageThumbnails(); 
    217221    $("input[name=setSelected]").attr('checked', true); 
    218222    checkPermitAction(); 
Note: See TracChangeset for help on using the changeset viewer.