Skip to content

Commit

Permalink
fix bug in IE and Firefox
Browse files Browse the repository at this point in the history
  • Loading branch information
robin committed Dec 8, 2008
1 parent 8c1736c commit 08a59bd
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions docroot/index.html
Expand Up @@ -50,15 +50,14 @@
if (shadow)
trclass= " class='shadow'";
encodeName = encodeURI(item.name).replace("'", "'");
console.log(encodeName);
$("<tr" + trclass + "><td><a href='/files/" + encodeName + "' class='file'>" + item.name + "</a></td>" + "<td class='del'><form action='/files/" + encodeName + "' method='post'><input name='_method' value='delete' type='hidden'/><input name=\"commit\" type=\"submit\" value=\"Delete\" class='button' /></td>" + "</tr>").appendTo("#filelist");
shadow = !shadow;
});
});
</script>
<div id="footer">
<div class='content'>
Powered by <a href='http://www.robinlu.com/'>Cocoa Web Resource Project</a>
Powered by <a href='http://github.com/robin/cocoa-web-resource/'>Cocoa Web Resource Project</a>, Copyright (c) 2008 <a href="http://www.robinlu.com">Robin Lu</a>
</div>
</div>
</div>
Expand Down

0 comments on commit 08a59bd

Please sign in to comment.