Project

General

Profile

« Previous | Next » 

Revision 72da1d77

Added by Amos Benari almost 12 years ago

  • ID 72da1d773df7ef9bc4c41e6650e871db0b7d0f2e

fixes #1753 - Showing a modal from an AJAX request that returns a full-blown HTML page clears the page

View differences:

public/javascripts/host_edit.js
var stop_pooling;
function submit_host(form){
var url = form.attr("action");
var url = window.location.pathname.replace(/\/edit|\/new/,'');
$('#host_submit').attr('disabled', true);
stop_pooling = false;
$("body").css("cursor", "progress");

Also available in: Unified diff