[go: nahoru, domu]

Skip to content

Commit

Permalink
Use standard JS for each loop rather than Mozilla specific version
Browse files Browse the repository at this point in the history
  • Loading branch information
mchr3k committed Aug 14, 2012
1 parent 809af69 commit e2d9015
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion intrace.appengine/war/downloads.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -210,8 +210,11 @@
args[key] = value;
var newUrl = "downloads.jsp?";
for each (var item in ['mode','file','collapseversions'])
var urlArgs = new Array('mode','file','collapseversions');
for(i=0; i<urlArgs.length; i++)
{
var item = urlArgs[i];
if (args[item])
{
newUrl += item + "=" + args[item] + "&";
Expand Down

0 comments on commit e2d9015

Please sign in to comment.