Revision d19719cd ui/static/synnefo.js

b/ui/static/synnefo.js
103 103
    return false;
104 104
}
105 105

  
106
var changes_since = '';
106 107
// get and show a list of running and terminated machines
107 108
function update_vms(interval) {
108 109
    try{ console.info('updating machines'); } catch(err){}
109 110

  
110 111
    $.ajax({
111
        url: '/api/v1.0/servers/detail',
112
        url: '/api/v1.0/servers/detail?changes_since=' + changes_since,
112 113
        type: "GET",
113 114
        timeout: TIMEOUT,
114 115
        dataType: "json",
......
126 127
                    return false;
127 128
                    },
128 129
        success: function(data, textStatus, jqXHR) {
130
            changes_since = '';
129 131
            try {
130 132
				servers = data.servers;
131 133
			} catch(err) { ajax_error('400');}

Also available in: Unified diff