Revision 812b1e8d snf-cyclades-app/synnefo/ui/new_ui/ui/javascripts/okeanos-ember/ember-all.js
b/snf-cyclades-app/synnefo/ui/new_ui/ui/javascripts/okeanos-ember/ember-all.js | ||
---|---|---|
20 | 20 |
redirect: function() { |
21 | 21 |
// have to set vm navigation icon full |
22 | 22 |
this.transitionTo('vms'); |
23 |
}, |
|
24 |
actions: { |
|
25 |
openWizard: function() { |
|
26 |
console.log('2'); |
|
27 |
return this.render('wizard', { |
|
28 |
into: 'application', |
|
29 |
outlet: 'wizard' |
|
30 |
}); |
|
31 |
} |
|
23 | 32 |
} |
24 | 33 |
}); |
25 | 34 |
|
... | ... | |
292 | 301 |
} |
293 | 302 |
}.property(), |
294 | 303 |
click: function () { |
295 |
var type = this.get('type'); |
|
296 |
var wizardEl = $('#'+ type.substring(0, type.length - 1)+'-wizard'); |
|
297 |
$('.overlay-area-custom').fadeIn(100); |
|
298 |
$('body').addClass('with-overlay'); |
|
299 |
wizardEl.fadeIn('slow'); |
|
304 |
// var type = this.get('type'); |
|
305 |
// var wizardEl = $('#'+ type.substring(0, type.length - 1)+'-wizard'); |
|
306 |
// $('.overlay-area-custom').fadeIn(100); |
|
307 |
// $('body').addClass('with-overlay'); |
|
308 |
// wizardEl.fadeIn('slow'); |
|
309 |
console.log('1'); |
|
310 |
this.sendAction('action'); |
|
300 | 311 |
} |
301 | 312 |
}); |
302 | 313 |
|
Also available in: Unified diff