1
0
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:
Hector Sanjuan 2011-03-25 13:41:09 +01:00
parent 49e80e3031
commit 398c3e2876
2 changed files with 7 additions and 1 deletions

View File

@ -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" : {

View File

@ -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);
}
},