Revision b3ffc710 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 | ||
---|---|---|
299 | 299 |
|
300 | 300 |
$('.show-add-tag').click(function(e){ |
301 | 301 |
e.preventDefault(); |
302 |
$(this).parents('.tags-area').find('.snf-color-picker').slideDown('slow', function(){ |
|
303 |
ui.wizard.setStepHeight($('.step-3')); |
|
302 |
$(this).parents('.tags-area').find('.snf-color-picker').slideDown(400, function(){ |
|
304 | 303 |
goToByScroll('hide-add-tag'); |
304 |
ui.wizard.setStepHeight($('.step-3')); |
|
305 | 305 |
}); |
306 | 306 |
ui.colorPickerVisible =1; |
307 | 307 |
}); |
308 | 308 |
|
309 | 309 |
$('.hide-add-tag').click(function(e){ |
310 | 310 |
e.preventDefault(); |
311 |
$(this).parents('.snf-color-picker').slideUp('400', function(){
|
|
311 |
$(this).parents('.tags-area').find('.snf-color-picker').slideUp(400, function(){
|
|
312 | 312 |
ui.colorPickerVisible = 0; |
313 | 313 |
}); |
314 | 314 |
}); |
Also available in: Unified diff