scope.appliIDs =[]; // array to hold applications ID
scope.appliStore={}; // array to hold applications json description
- scope.AppliCB = function (appliID) {
- console.log ("Application Clicked ID=[%s]", appliID);
-
- };
-
+
scope.AppliCB = function(appliID, action, response) {
// Action is done within Widget Controller only update debug UI zone
scope.request = action;
});
};
- scope.FileUploaded = function (status) {
+ scope.FileUploaded = function (response) {
console.log ("file Uploaded");
+ // Cannot display post results as GetRunnable will overload them
+ scope.request = "/api/afm-main/runnable";
+ scope.response = response.headers;
+ scope.errcode = response.status;
+
+ // everything looks OK update app list
scope.GetRunnables();
};