Dotclear


Ignore:
Timestamp:
08/23/13 20:09:40 (12 years ago)
Author:
Nicolas <nikrou77@…>
Branch:
default
Message:

Issue #1541 : combo box for category that can received entries is only show if a category with entries is selected to be removed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • admin/js/_categories.js

    r1547 r1551  
    2020     $('#mov_cat').parent().hide(); 
    2121     $('input[name="categories[]"]').click(function() { 
    22           $('#mov_cat').parent().show(); 
     22          if ($('input[name="categories[]"].notempty:checked').length>0) { 
     23               $('#mov_cat').parent().show().parent().removeClass('two-cols').addClass('three-cols'); 
     24          } else { 
     25               $('#mov_cat').parent().hide().parent().removeClass('three-cols').addClass('two-cols'); 
     26          } 
    2327     }); 
    2428 
Note: See TracChangeset for help on using the changeset viewer.

Sites map