1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-01-13 13:17:39 +03:00

Bug #4115: Set min and max slider values

This commit is contained in:
Carlos Martín 2015-11-02 12:06:43 +01:00
parent 593e18f54d
commit 9f5995f53f

View File

@ -474,6 +474,7 @@ define(function(require) {
$( ".cardinality_slider_div", context).show();
$( ".cardinality_no_slider_div", context).hide();
$( ".cardinality_slider", context).attr('data-options', 'start: '+min_vms+'; end: '+max_vms+';');
$( ".cardinality_slider", context).foundation('slider', 'set_value', role.cardinality);
$( ".cardinality_slider", context).on('change.fndtn.slider', function(){
$(".cardinality_value",context).html($(this).attr('data-slider'))