Fix Bug 42475
This commit is contained in:
parent
1d6a469960
commit
dcab25cdd8
|
@ -2097,15 +2097,14 @@ define([
|
|||
this.mnuColorSchema.addItem({
|
||||
caption: '--'
|
||||
});
|
||||
} else {
|
||||
this.mnuColorSchema.addItem({
|
||||
template: itemTemplate,
|
||||
cls: 'color-schemas-menu',
|
||||
colors: schemecolors,
|
||||
caption: (index < 21) ? (me.SchemeNames[index] || schema.get_name()) : schema.get_name(),
|
||||
value: index
|
||||
});
|
||||
}
|
||||
this.mnuColorSchema.addItem({
|
||||
template: itemTemplate,
|
||||
cls: 'color-schemas-menu',
|
||||
colors: schemecolors,
|
||||
caption: (index < 21) ? (me.SchemeNames[index] || schema.get_name()) : schema.get_name(),
|
||||
value: index
|
||||
});
|
||||
}, this);
|
||||
},
|
||||
|
||||
|
|
|
@ -1318,15 +1318,14 @@ define([
|
|||
mnuColorSchema.addItem({
|
||||
caption: '--'
|
||||
});
|
||||
} else {
|
||||
mnuColorSchema.addItem({
|
||||
template: itemTemplate,
|
||||
cls: 'color-schemas-menu',
|
||||
colors: schemecolors,
|
||||
caption: (index < 21) ? (me.schemeNames[index] || schema.get_name()) : schema.get_name(),
|
||||
value: index
|
||||
});
|
||||
}
|
||||
mnuColorSchema.addItem({
|
||||
template: itemTemplate,
|
||||
cls: 'color-schemas-menu',
|
||||
colors: schemecolors,
|
||||
caption: (index < 21) ? (me.schemeNames[index] || schema.get_name()) : schema.get_name(),
|
||||
value: index
|
||||
});
|
||||
}, this);
|
||||
}
|
||||
},
|
||||
|
|
|
@ -1951,15 +1951,14 @@ define([
|
|||
this.mnuColorSchema.addItem({
|
||||
caption : '--'
|
||||
});
|
||||
} else {
|
||||
this.mnuColorSchema.addItem({
|
||||
template: itemTemplate,
|
||||
cls : 'color-schemas-menu',
|
||||
colors : schemecolors,
|
||||
caption : (index < 21) ? (me.SchemeNames[index] || schema.get_name()) : schema.get_name(),
|
||||
value : index
|
||||
});
|
||||
}
|
||||
this.mnuColorSchema.addItem({
|
||||
template: itemTemplate,
|
||||
cls : 'color-schemas-menu',
|
||||
colors : schemecolors,
|
||||
caption : (index < 21) ? (me.SchemeNames[index] || schema.get_name()) : schema.get_name(),
|
||||
value : index
|
||||
});
|
||||
}, this);
|
||||
},
|
||||
|
||||
|
|
Loading…
Reference in a new issue