mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-14 02:37:08 -07:00
HTML5 data attributes for edit/delete
This commit is contained in:
parent
9a006fc702
commit
75090e77bc
3 changed files with 5 additions and 8 deletions
|
@ -67,8 +67,8 @@ $("#seriesDelete").dialog({
|
|||
|
||||
$(".editButton").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");
|
||||
|
||||
//Set the title of the dialog
|
||||
$("#seriesEditor").dialog("option", "title", title);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue