commit.js: Fix discardHunk functionality
commitd3cb0205988f2ab5c72b4e425370367dc389fce5
authorJohannes Gilger <heipei@hackvalue.de>
Wed, 2 Sep 2009 14:44:50 +0000 (2 16:44 +0200)
committerPieter de Bie <pdebie@ai.rug.nl>
Thu, 3 Sep 2009 08:13:44 +0000 (3 10:13 +0200)
treed926c187a30dc07a8c624d795a81ab4718d2ece9
parenta8f4304f86a7eea712e274f6f37ff8c616558493
commit.js: Fix discardHunk functionality

When rewriting big parts of commit.js, JD forgot to use the new function
for the "Discard hunk" functionality as well. This fixes that.

Signed-off-by: Johannes Gilger <heipei@hackvalue.de>
html/views/commit/commit.js