From c65ca8922a1e701e4d397f4a5ba0499a4fb3ddd2 Mon Sep 17 00:00:00 2001 From: "kay.one" Date: Fri, 1 Jul 2011 14:19:52 -0700 Subject: [PATCH] Fixed delete root dir issue in firefox --- NzbDrone.Web/Views/AddSeries/RootDir.cshtml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/NzbDrone.Web/Views/AddSeries/RootDir.cshtml b/NzbDrone.Web/Views/AddSeries/RootDir.cshtml index 463486619..0907941a5 100644 --- a/NzbDrone.Web/Views/AddSeries/RootDir.cshtml +++ b/NzbDrone.Web/Views/AddSeries/RootDir.cshtml @@ -19,7 +19,7 @@ $('#rootDirs .actionButton img').live('click', function(image) { - var path = $(image.srcElement).attr('id'); + var path = $(image.target).attr('id'); $.post('@Url.Action("DeleteRootDir", "AddSeries")', { Path: path }, function() { refreshRoot(); });