Added AJAX wheel for Refresh Root Dirs, so you can tell its working now.

pull/4/head
Mark McDowall 13 years ago
parent c3d4732baa
commit 93340f7d53

@ -59,6 +59,7 @@
} }
</div> </div>
<button onclick="reloadExistingSeries()" style="padding: 2px 10px 2px 10px; margin: 5px; margin-bottom: 10px;">Refresh Unmapped</button> <button onclick="reloadExistingSeries()" style="padding: 2px 10px 2px 10px; margin: 5px; margin-bottom: 10px;">Refresh Unmapped</button>
<span id="reloadAjax" style="display: none"><img src="../../Content/Images/ajax-loader.gif" width="22px" height="22px" style="margin-bottom: -6px;"/></span>
</div> </div>
</text>); </text>);
}).Render(); }).Render();
@ -175,6 +176,10 @@
} }
function reloadExistingSeries() { function reloadExistingSeries() {
$('#existingSeries').load('@Url.Action("AddExisting", "AddSeries")'); $('#reloadAjax').show();
$('#existingSeries').load('@Url.Action("AddExisting", "AddSeries")',
function (responseText, textStatus, XMLHttpRequest) {
$('#reloadAjax').hide();
});
} }
</script> </script>
Loading…
Cancel
Save