Revision d9574c38 snf-cyclades-app/synnefo/ui/new_ui/ui/javascripts/vm-wizard.js

b/snf-cyclades-app/synnefo/ui/new_ui/ui/javascripts/vm-wizard.js
8 8
	// sets the width and height of the carousel and its divs
9 9
	set_dimensions: function() {
10 10
		console.log('set dimentions');
11
		ui.wizard.relocation = $('.wizard-content').width();
12
		$('.vm-wizard-carousel').children('div').width(ui.wizard.relocation+'px');
13
		$('.vm-wizard-carousel').children('div').height($('.wizard-content').height()+'px');
11
		ui.wizard.relocation = $('.overlay-wrapper').width();
12
		console.log(ui.wizard.relocation);
13
		$('.vm-wizard-carousel').children('div').width(ui.wizard.relocation);
14 14
	},
15 15

  
16 16
	// sets the width and height of the carousel and its divs when the screen is resized (in PIXELS)

Also available in: Unified diff