Commit 8f28b15e authored by Pedro Eduardo Trujillo's avatar Pedro Eduardo Trujillo
Browse files

Recupera sliders con valores discretos

parent bb011458
Loading
Loading
Loading
Loading
Compare eeafa749 to 908df3d8
Original line number Diff line number Diff line
Subproject commit eeafa74992f2f189b8b85051d0313ffb473f3971
Subproject commit 908df3d8c483de993b8fc93b5cfffe204a09d2f7
+9 −6
Original line number Diff line number Diff line
@@ -28,7 +28,10 @@ define([
			this.config = {
				ownChannel: 'sliderSelector',
				iconClass: 'fa-sliders',
				_closeOnValueSetTimeout: 800
				_closeOnValueSetTimeout: 800,
				value: 1,
				range: [1, 3],
				labels: null
			};

			lang.mixin(this, this.config, args);
@@ -40,15 +43,15 @@ define([

			this.sliderConfig = this._merge([{
				parentChannel: this.getChannel(),
				inputProps: {
				_inputProps: {
					style: 'width:200px',
					labels: []
					labels: this.labels,
					valueDefault: this.value,
					valueMinMax: this.range
				},
				orient: ['below-alt'],
				classTooltip: 'tooltipButtonMenu'
				//classTooltip: 'tooltipButtonMenu'
			}, this.sliderConfig || {}]);

			this.sliderConfig.inputProps.discreteValues = this.sliderConfig.inputProps.labels.length;
		},

		_initialize: function() {