Changeset - c3d9cd8c0cba
[Not reviewed]
beta
0 1 0
Marcin Kuzminski - 14 years ago 2011-11-13 15:56:41
marcin@python-works.com
fixed inline comment file parsing
1 file changed with 4 insertions and 4 deletions:
0 comments (0 inline, 0 general)
rhodecode/public/js/rhodecode.js
Show inline comments
 
@@ -328,10 +328,10 @@ var getLineNo = function(tr) {
 
	var o = tr.children[0].id.split('_');
 
	var n = tr.children[1].id.split('_');
 

	
 
	if (n.length == 2) {
 
		line = n[1];
 
	} else if (o.length == 2) {
 
		line = o[1];
 
	if (n.length >= 2) {
 
		line = n[n.length-1];
 
	} else if (o.length >= 2) {
 
		line = o[n.length-1];
 
	}
 

	
 
	return line
0 comments (0 inline, 0 general)