Fied delete button on series grid

This commit is contained in:
Mark McDowall 2012-10-12 22:11:09 -07:00
parent 3ce8ffe21f
commit 6f57b83822
1 changed files with 2 additions and 2 deletions

View File

@ -91,8 +91,8 @@ $(".editButton").live('click', function () {
$(".deleteButton").live('click', function () {
//Get the SeriesId and Title
var seriesId = parseInt($(this).attr("value"));
var title = $(this).attr("rel");
var seriesId = parseInt($(this).attr("data-series-id"));
var title = $(this).attr("data-series-title");
//Fill in the view
$('#seriesDelete').children('.seriesId').val(seriesId);