Revision 9cb2ca3b

b/ui/static/synnefo.js
351 351
	$("#cpu:range").data().rangeinput.change(function(event,value){
352 352
		$("#cpu-indicator")[0].value = cpus[Number(value)];				
353 353
		$("#custom").click();
354
        $("#custom input").attr('checked', 'checked');		
355 354
        $("#cpu-indicator").removeClass('selectedrange');		
356 355
	});			
357 356
	$("#ram:range").data().rangeinput.onSlide(function(event,value){
......
361 360
	$("#ram:range").data().rangeinput.change(function(event,value){
362 361
		$("#ram-indicator")[0].value = ram[Number(value)];				
363 362
		$("#custom").click();
364
        $("#custom input").attr('checked', 'checked');
365 363
        $("#ram-indicator").removeClass('selectedrange');		
366 364
	});			
367 365
	$("#storage:range").data().rangeinput.onSlide(function(event,value){
......
371 369
	$("#storage:range").data().rangeinput.change(function(event,value){
372 370
		$("#storage-indicator")[0].value = disks[Number(value)];				
373 371
		$("#custom").click();
374
        $("#custom input").attr('checked', 'checked');
375 372
        $("#storage-indicator").removeClass('selectedrange');		
376 373
	});				
377 374
}
b/ui/templates/machines.html
495 495
    $("#ram").attr('disabled',false);
496 496
    $("#storage").attr('disabled',false);
497 497
    $("strong.sliders").style = 'color: #778899;';
498
    $("#custom input").attr('checked', 'checked');		
498 499
    $("#custom").addClass("active"); 
499 500
    $("#medium").removeClass("active");    
500 501
    $("#large").removeClass("active");    

Also available in: Unified diff