##// END OF EJS Templates
templates: use safer way to extract user_agent from request....
templates: use safer way to extract user_agent from request. Several reports were that user_agent was None causing a 500 while rendering template

File last commit:

r703:1eda65ea default
r2094:5efe3020 default
Show More
rhodecode-unsafe-html.js
12 lines | 244 B | application/javascript | JavascriptLexer
Polymer({
is: 'rhodecode-unsafe-html',
properties: {
text: {
type: String,
observer: '_handleText'
}
},
_handleText: function(newVal, oldVal){
this.innerHTML = this.text;
}
})