Series grid updated to remove Telerik MVC Grid.

This commit is contained in:
Mark McDowall 2012-02-05 12:17:23 -08:00
commit a330348c8e
11 changed files with 307 additions and 156 deletions

View file

@ -1,4 +1,15 @@
function grid_onError(e) {
/* Click on row, show details */
$('.seriesTable a').live('click', function () {
var link = $(this).attr('href');
window.location = link;
event.preventDefault();
});
$('.seriesTable tr td:not(:last-child)').live('click', function () {
$(this).parent('tr').next('.detail-view').toggle();
});
function grid_onError(e) {
//Suppress the alert
e.preventDefault();
}

View file

@ -143,9 +143,4 @@ function saveEpisodeIgnore(episodeId, ignored) {
alert("Sorry! We could save the ignore settings for Episode: " + episodeId + " at this time. " + error);
}
});
}
/* Click on row, show details */
$('.seriesTable tr td:not(:last-child)').live('click', function () {
$(this).parent('tr').next('.detail-view').toggle();
});
}