Revision ac8a6905 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
187 187
		var h2 = $('.wizard .top').height();
188 188
		var res =  h1 +h2;
189 189
		console.log(res);
190
	    $('.wizard-content').outerHeight(res);
190
	    $('.wizard-content').css('height',res);
191 191
	},
192 192

  
193 193
	pickResources: function(resource) {
......
216 216
        e.preventDefault();
217 217
        e.stopPropagation();
218 218
        $(this).toggleClass('current');
219
        $('.wizard-content').removeAttr('style'); 
219
        var self = this;
220 220
        $(this).parents('li').find('.details').stop().slideToggle('slow', function(){
221 221
			ui.wizard.setStepHeight($('.step-1'));
222 222
        });
......
264 264
            });
265 265
        }
266 266
    });
267

  
268
    $('.flavor .options a').hover(
269
		function(){
270
			var paragraph = $(this).parents('.options-bar').siblings('.title').find('p');
271
			var text = $(this).data('help');
272
			paragraph.html(text);
273
			paragraph.css('visibility','visible');
274
		}, function() {
275
			var paragraph = $(this).parents('.options-bar').siblings('.title').find('p');
276
			paragraph.css('visibility','hidden');
277
		 }
278
    );
279

  
280

  
267 281
    // reaction a.click
268 282
    $('.checkbox .check').click(function(e) {
269 283
		e.stopPropagation();

Also available in: Unified diff