function refreshDeploymentStatus(topoId) {
        var doc = jQuery(document.documentElement);
        doc.css('cursor', 'progress');

        var url = '/ajax/refreshDeploymentStatus/';
        var params = {
            'topologyId' : topoId
        };
        var post = jQuery.post(url, params, function(response) {
            var content = jQuery(response);
            jQuery('#deploymentStatus').empty().append(content);
        });
        post.fail(function() {
            alert('Could not perform request!');
        });
        post.always(function() {
            doc.css('cursor', '');
        });
    }
// Simple function to update the deploymentStatusDiv with the current hypervisor state
Simple function to update the deploymentStatusDiv with the current hypervisor state
Simple function to update the deploymentStatusDiv with the current hypervisor state
function refreshDeploymentStatus(topoId) {
        var doc = jQuery(document.documentElement);
        doc.css('cursor', 'progress');
        var url = '/ajax/refreshDeploymentStatus/';
        var params = {
            'topologyId' : topoId
        };
        var post = jQuery.post(url, params, function(response) {
            var content = jQuery(response);
            jQuery('#deploymentStatus').empty().append(content);
        });
        post.fail(function() {
            alert('Could not perform request!');
        });
        post.always(function() {
            doc.css('cursor', '');
        });
    }
function refreshDeploymentStatus ( topoId ) { var doc = jQuery ( document . documentElement ) ; doc . css ( 'cursor' , 'progress' ) ; var url = '/ajax/refreshDeploymentStatus/' ; var params = { 'topologyId' : topoId } ; var post = jQuery . post ( url , params , function ( response ) { var content = jQuery ( response ) ; jQuery ( '#deploymentStatus' ) . empty ( ) . append ( content ) ; } ) ; post . fail ( function ( ) { alert ( 'Could not perform request!' ) ; } ) ; post . always ( function ( ) { doc . css ( 'cursor' , '' ) ; } ) ; }
Simple function to update the deploymentStatusDiv with the current hypervisor state
Simple function to update the deploymentStatusDiv with the current hypervisor state