Change values for color scheme (use names)
This commit is contained in:
parent
6e93a76a0a
commit
4b5db261b5
|
@ -2098,12 +2098,13 @@ define([
|
|||
caption: '--'
|
||||
});
|
||||
}
|
||||
var name = schema.get_name();
|
||||
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,
|
||||
caption: (index < 21) ? (me.SchemeNames[index] || name) : name,
|
||||
value: name,
|
||||
checkable: true,
|
||||
toggleGroup: 'menuSchema'
|
||||
});
|
||||
|
|
|
@ -1319,12 +1319,13 @@ define([
|
|||
caption: '--'
|
||||
});
|
||||
}
|
||||
var name = schema.get_name();
|
||||
mnuColorSchema.addItem({
|
||||
template: itemTemplate,
|
||||
cls: 'color-schemas-menu',
|
||||
colors: schemecolors,
|
||||
caption: (index < 21) ? (me.schemeNames[index] || schema.get_name()) : schema.get_name(),
|
||||
value: index,
|
||||
caption: (index < 21) ? (me.SchemeNames[index] || name) : name,
|
||||
value: name,
|
||||
checkable: true,
|
||||
toggleGroup: 'menuSchema'
|
||||
});
|
||||
|
|
|
@ -1952,12 +1952,13 @@ define([
|
|||
caption : '--'
|
||||
});
|
||||
}
|
||||
var name = schema.get_name();
|
||||
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,
|
||||
caption: (index < 21) ? (me.SchemeNames[index] || name) : name,
|
||||
value: name,
|
||||
checkable: true,
|
||||
toggleGroup: 'menuSchema'
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue