|
Lines 95-100
define([
Link Here
|
| 95 |
_addSnapshot: function() { |
95 |
_addSnapshot: function() { |
| 96 |
var _dialog = null, form = null; |
96 |
var _dialog = null, form = null; |
| 97 |
|
97 |
|
|
|
98 |
if (this.domain.suspended) { |
| 99 |
dialog.alert(_('Creating a snapshots is not possible, because the domain is currently suspended!')); |
| 100 |
return; |
| 101 |
} |
| 102 |
|
| 98 |
var qcow2_images = 0; |
103 |
var qcow2_images = 0; |
| 99 |
var snapshots_possible = array.every(this.domain.disks, function(disk) { |
104 |
var snapshots_possible = array.every(this.domain.disks, function(disk) { |
| 100 |
if (!disk.source) { |
105 |
if (!disk.source) { |