Changeset - ad0b61d9177a
[Not reviewed]
beta
0 2 0
Marcin Kuzminski - 13 years ago 2012-08-04 19:42:00
marcin@python-works.com
fix leftover error coloring after ypjax failure
2 files changed with 5 insertions and 2 deletions:
0 comments (0 inline, 0 general)
rhodecode/public/css/style.css
Show inline comments
 
@@ -3220,6 +3220,10 @@ table.code-browser .submodule-dir {
 
	
 
}
 
 
.error_red {
 
	color:red;
 
}
 
 
.error_msg {
 
	background-color: #c43c35;
 
	background-repeat: repeat-x;
rhodecode/public/js/rhodecode.js
Show inline comments
 
@@ -217,9 +217,8 @@ function ypjax(url,container,s_call,f_ca
 
		success:s_wrapper,
 
		failure:function(o){
 
			console.log(o);
 
			YUD.get(container).innerHTML='ERROR '+o.status;
 
			YUD.get(container).innerHTML='<span class="error_red">ERROR: {0}</span>'.format(o.status);
 
			YUD.setStyle(container,'opacity','1.0');
 
			YUD.setStyle(container,'color','red');
 
		}
 
	},args);
 
	
0 comments (0 inline, 0 general)