Merge branch 'markus101'

Conflicts:
	NzbDrone.Web/NzbDrone.Web.csproj
This commit is contained in:
kay.one 2011-07-01 14:01:51 -07:00
commit c7a219ddc6
14 changed files with 441 additions and 551 deletions

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();
}