mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-21 14:50:08 +03:00
parent
a63f38b47a
commit
08cf7e7425
@ -115,7 +115,6 @@ class SunstoneRemoteConnections
|
||||
|
||||
def error(code, msg)
|
||||
@logger.error(msg)
|
||||
return [code, msg] unless @options[:json_error]
|
||||
|
||||
[code, OpenNebula::Error.new(msg).to_json]
|
||||
end
|
||||
|
@ -260,7 +260,11 @@ define(function(require) {
|
||||
$.each(Sunstone.getDataTable(TAB_ID).elements(), function(index, elem) {
|
||||
Sunstone.runAction("VM.startvnc_action", elem);
|
||||
});
|
||||
}
|
||||
},
|
||||
error: function(req, resp) {
|
||||
Notifier.onError(req, resp);
|
||||
},
|
||||
notify: true
|
||||
},
|
||||
"VM.startvnc_action" : {
|
||||
type: "single",
|
||||
@ -290,7 +294,11 @@ define(function(require) {
|
||||
var vm_name = OpenNebulaVM.getName(elem);
|
||||
Sunstone.runAction("VM.startvmrc_action", elem, vm_name);
|
||||
});
|
||||
}
|
||||
},
|
||||
error: function(req, resp) {
|
||||
Notifier.onError(req, resp);
|
||||
},
|
||||
notify: true
|
||||
},
|
||||
"VM.startvmrc_action" : {
|
||||
type: "single",
|
||||
@ -318,7 +326,11 @@ define(function(require) {
|
||||
$.each(Sunstone.getDataTable(TAB_ID).elements(), function(index, elem) {
|
||||
Sunstone.runAction("VM.startspice_action", elem);
|
||||
});
|
||||
}
|
||||
},
|
||||
error: function(req, resp) {
|
||||
Notifier.onError(req, resp);
|
||||
},
|
||||
notify: true
|
||||
},
|
||||
"VM.startspice_action" : {
|
||||
type: "single",
|
||||
|
Loading…
x
Reference in New Issue
Block a user