##// END OF EJS Templates
rhodecode.js: pyroute, don't iterate over req_params, make for loop over its length
Mads Kiilerich -
r4169:c560a578 rhodecode-2.2.5-gpl
parent child Browse files
Show More
@@ -300,8 +300,8 var pyroutes = (function() {
300 //fix escape
300 //fix escape
301 route_tmpl = unescape(route_tmpl);
301 route_tmpl = unescape(route_tmpl);
302 keys = [];
302 keys = [];
303 for (o in req_params){
303 for (var i=0; i < req_params.length; i++) {
304 keys.push(req_params[o])
304 keys.push(req_params[i])
305 }
305 }
306 matchlist[route_name] = [
306 matchlist[route_name] = [
307 route_tmpl,
307 route_tmpl,
General Comments 0
You need to be logged in to leave comments. Login now