Bug Fix: Pointer/Touch events triggered navigate

When using touch the anchor navigates immediately even though the Click
event has preventDefault()
This commit is contained in:
Gary Sharp
2014-04-23 12:59:28 +10:00
parent 3cf6d5475d
commit 392de396df
2 changed files with 42 additions and 31 deletions
+1 -1
View File
@@ -75,7 +75,7 @@
}
else if (jq.Item1.CanRemove())
{
@Html.ActionLinkSmallButton("Remove", MVC.API.JobQueueJob.RemoveJob(jq.Item1.Id, null), null, (jq.Item1.CanCloseJobNormallyAfterRemoved() ? "remove canCloseNormally" : "remove"))
<a href="#" class="button small remove @(jq.Item1.CanCloseJobNormallyAfterRemoved() ? "canCloseNormally" : null)">Remove</a>
}
else
{