mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-22 18:50:08 +03:00
Feature #507: Added notification of actions
This commit is contained in:
parent
49e80e3031
commit
398c3e2876
@ -165,7 +165,8 @@ var host_actions = {
|
||||
Sunstone.runAction("Host.show",req.request.data[0]);
|
||||
},
|
||||
dataTable: function() { return dataTable_hosts },
|
||||
error : onError
|
||||
error : onError,
|
||||
notify: true
|
||||
},
|
||||
|
||||
"Host.disable" : {
|
||||
|
@ -217,6 +217,11 @@ var Sunstone = {
|
||||
else if (data_arg) {call(data_arg);}
|
||||
else {call();}
|
||||
}
|
||||
//notify submission
|
||||
if (notify) {
|
||||
notifySubmit(action,data_arg,extra_param);
|
||||
}
|
||||
|
||||
|
||||
},
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user