Changeset - f0e518891d69
[Not reviewed]
Mads Kiilerich - 11 years ago 2014-07-03 01:03:27
madski@unity3d.com
rhodecode.js: break the loop when fileBrowserListeners search is truncated
1 file changed with 1 insertions and 0 deletions:
0 comments (0 inline, 0 general)
rhodecode/public/js/rhodecode.js
Show inline comments
 
@@ -923,6 +923,7 @@ var fileBrowserListeners = function(curr
 
                    }
 
                    if(match.length >= matches_max){
 
                        match.push('<tr><td>{0}</td><td colspan="5"></td></tr>'.format(_TM['Search truncated']));
 
                        break;
 
                    }
 
                }
 
            }
0 comments (0 inline, 0 general)