MAJ terminée. Nous sommes passés en version 14.6.2 . Pour consulter les "releases notes" associées c'est ici :

https://about.gitlab.com/releases/2022/01/11/security-release-gitlab-14-6-2-released/
https://about.gitlab.com/releases/2022/01/04/gitlab-14-6-1-released/

Commit bd90874d authored by Marc Duez's avatar Marc Duez
Browse files

com.js : normal flash message last longer / error message fade on click

parent d85c4e4a
...@@ -40,13 +40,17 @@ Com.prototype = { ...@@ -40,13 +40,17 @@ Com.prototype = {
var div = jQuery('<div/>', { var div = jQuery('<div/>', {
text: str, text: str,
style: 'display : none', style: 'display : none',
class: 'flash_'+priority class: 'flash_'+priority ,
click : function(){$(this).fadeOut(25, function() { $(this).remove();} );}
}).appendTo("#"+this.flash_id) }).appendTo("#"+this.flash_id)
.slideDown(200); .slideDown(200);
setTimeout(function(){ if (priority !=2){
div.fadeOut('slow', function() { div.remove();}); setTimeout(function(){
}, 5000); div.fadeOut('slow', function() { div.remove();});
}, 8000);
}
} }
this.log(str, priority); this.log(str, priority);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment