Revision 97171a7e

b/snf-cyclades-app/synnefo/ui/new_ui/ui/javascripts/okeanos-ember.js
481 481
				return '+ Upload New Image';
482 482
		}
483 483
	}.property(),
484
		click: function (e) {
485
	        e.preventDefault();
486
	        var wizardID = '#'+ this.get('type').substring(0, type.length - 1)+'-wizard'
484
		click: function () {
485
	        var type = this.get('type');
486
	        var wizardEl = $('#'+ type.substring(0, type.length - 1)+'-wizard');
487 487
	        $('.overlay-area-custom').fadeIn(100);
488 488
	        $('body').addClass('with-overlay');
489
	        $(wizardID).fadeIn('slow');
489
	        wizardEl.fadeIn('slow');
490 490
		}
491 491
});
492 492

  
b/snf-cyclades-app/synnefo/ui/new_ui/ui/javascripts/okeanos-ember/ember-all.js
291 291
				return '+ Upload New Image';
292 292
		}
293 293
	}.property(),
294
		click: function (e) {
295
	        e.preventDefault();
296
	        var wizardID = '#'+ this.get('type').substring(0, type.length - 1)+'-wizard'
294
		click: function () {
295
	        var type = this.get('type');
296
	        var wizardEl = $('#'+ type.substring(0, type.length - 1)+'-wizard');
297 297
	        $('.overlay-area-custom').fadeIn(100);
298 298
	        $('body').addClass('with-overlay');
299
	        $(wizardID).fadeIn('slow');
299
	        wizardEl.fadeIn('slow');
300 300
		}
301 301
});
302 302

  

Also available in: Unified diff