Permalink
Browse files

Do not delete group with delete statement, it breaks index

  • Loading branch information...
1 parent 1e4d381 commit 6f14a100c90d52e6df37da13b630d72f6d9437c9 @william-gr william-gr committed Jun 6, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 gui/freeadmin/static/lib/js/freeadmin/VolumeManager.js
@@ -767,7 +767,7 @@ define([
this.disks[0].remove();
}
var iof = this.manager._layout.indexOf(this);
- delete this.manager._layout[iof];
+ this.manager._layout.splice(iof, 1);
this.destroyRecursive();
}
});

0 comments on commit 6f14a10

Please sign in to comment.