Ignore:
Timestamp:
12/22/10 17:43:46 (13 years ago)
Author:
oschonef
Message:
  • CSS tweaks
  • hide popup-menu and details for deleted virtual collections
File:
1 edited

Legend:

Unmodified
Added
Removed
  • VirtualCollectionRegistry/trunk/VirtualCollectionRegistry/src/main/java/eu/clarin/cmdi/virtualcollectionregistry/gui/table/ColumnName.js

    r1005 r1015  
    77                        var name = $(this).children('div.name');
    88                        var details = $(this).children('div.details');
    9                         name.bind('click.detailsToggle', function() {
    10                                 details.slideToggle(o.speed, function() {
    11                                         name.toggleClass('detailsShown');
     9                        if (details.length > 0) {
     10                                name.bind('click.detailsToggle', function() {
     11                                        details.slideToggle(o.speed, function() {
     12                                                name.toggleClass('detailsShown');
     13                                        });
    1214                                });
    13                         });
     15                        } else {
     16                                name.addClass('noDetails');
     17                        }
    1418                        return $(this);
    1519                }
Note: See TracChangeset for help on using the changeset viewer.