Revision 5dad72ea ui/static/snf/js/ui/web/ui_list_view.js

b/ui/static/snf/js/ui/web/ui_list_view.js
254 254
        remove_vm: function(vm) {
255 255
            this.vm(vm).find("input[type=checkbox]").removeAttr("checked");
256 256
            var vm_data = this.table_data["vm_" + vm.id];
257

  
258
            // update triggered on removed vm, skipping
257 259
            if (!vm_data) { return };
260

  
258 261
            var index = vm_data.index;
259 262
            this.table.fnDeleteRow(index);
260 263
            delete this.table_data["vm_" + vm.id];
......
381 384
        },
382 385

  
383 386
        post_update_vm: function(vm) {
387
            
388
            // skip update for these changes for performance issues
384 389
            if (vm.hasOnlyChange(["pending_action", "stats"])) { return };
390

  
385 391
            var index = this.table_data["vm_" + vm.id].index;
386 392
            params = this.get_vm_table_data(vm);
387 393
            this.table_data["vm_" + vm.id].params = params;

Also available in: Unified diff