Changeset 2363


Ignore:
Timestamp:
Apr 13, 2011 10:32:06 AM (5 years ago)
Author:
madair
Message:

closes #376: applying Arthur's patch

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/fusion-2.2/widgets/Legend.js

    r2136 r2363  
    715715        if (style && style.legendLabel) {
    716716            opt.label = style.legendLabel == '' ? ' ' : style.legendLabel;
    717         } else {
    718             opt.label = layer.legendLabel == '' ? ' ' : layer.legendLabel;
    719         }
    720 
     717        }
     718           
    721719        //set the checkbox rendererer
    722720        if (bCheckBox ) {
     721            if (!opt.label){
     722                opt.label = layer.legendLabel == '' ? ' ' : layer.legendLabel;
     723            }
    723724            opt.draw = this.renderItemCheckBox;
    724725        } else {
Note: See TracChangeset for help on using the changeset viewer.