1
0
mirror of https://github.com/Radarr/Radarr.git synced 2026-04-18 21:35:51 -04:00

Merge branch 'markus101'

Conflicts:
	NzbDrone.Web/NzbDrone.Web.csproj
This commit is contained in:
kay.one
2011-07-01 14:01:51 -07:00
14 changed files with 441 additions and 551 deletions
+22
View File
@@ -0,0 +1,22 @@
$(document).ready(function () {
var options = {
target: '#result',
beforeSubmit: showRequest,
success: showResponse,
type: 'post',
resetForm: false
};
$('#form').ajaxForm(options);
});
function showRequest(formData, jqForm, options) {
$("#result").empty().html('Saving...');
$("#form :input").attr("disabled", true);
$('#saveAjax').show();
}
function showResponse(responseText, statusText, xhr, $form) {
$("#result").empty().html(responseText);
$("#form :input").attr("disabled", false);
$('#saveAjax').hide();
}