Adding/Removing rootDirs will refresh UI properly.

pull/6/head
Mark McDowall 13 years ago
parent b3d1b8c47e
commit e306f0f817

@ -45,7 +45,7 @@ $(".addExistingButton").live('click', function () {
function reloadExistingSeries() { function reloadExistingSeries() {
$.get(existingSeriesUrl, function (data) { $.get(existingSeriesUrl, function (data) {
$('#existingSeriesTab').html(data); $('#existingSeries').html(data);
}); });
} }

@ -10,12 +10,12 @@ Add Series
<div class="jquery-accordion"> <div class="jquery-accordion">
<h3> <h3>
<a href="#">Add New Series</a></h3> <a href="#">Add New Series</a></h3>
<div> <div id="addNewSeries">
@{ Html.RenderAction("AddNew", "AddSeries"); } @{ Html.RenderAction("AddNew", "AddSeries"); }
</div> </div>
<h3> <h3>
<a href="#">Add Series Already on Disk</a></h3> <a href="#">Add Series Already on Disk</a></h3>
<div> <div id="existingSeries">
@{ Html.RenderAction("ExistingSeries", "AddSeries"); } @{ Html.RenderAction("ExistingSeries", "AddSeries"); }
</div> </div>
</div> </div>
Loading…
Cancel
Save