Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid W. Miller2017-07-19 11:45:50 -0400
committerAngel Avila2017-07-19 11:45:50 -0400
commitcba934e3db2938c1f0c67bcee31f5f3b9079d8ac (patch)
tree4d46becaee782acfada12a4ae6453751ac23f594
parentdc6793c1759d271751fdad46b6ebda6bf5420e52 (diff)
downloadorg.eclipse.osee-cba934e3db2938c1f0c67bcee31f5f3b9079d8ac.tar.gz
org.eclipse.osee-cba934e3db2938c1f0c67bcee31f5f3b9079d8ac.tar.xz
org.eclipse.osee-cba934e3db2938c1f0c67bcee31f5f3b9079d8ac.zip
feature: Refine Update Apache UI
-rw-r--r--plugins/org.eclipse.osee.app/OSEE-INF/oseeApp/js/oseeAppController.js4
-rw-r--r--plugins/org.eclipse.osee.app/OSEE-INF/oseeApp/js/oseeListController.js2
2 files changed, 3 insertions, 3 deletions
diff --git a/plugins/org.eclipse.osee.app/OSEE-INF/oseeApp/js/oseeAppController.js b/plugins/org.eclipse.osee.app/OSEE-INF/oseeApp/js/oseeAppController.js
index 1eee6310dc..46a0c529cb 100644
--- a/plugins/org.eclipse.osee.app/OSEE-INF/oseeApp/js/oseeAppController.js
+++ b/plugins/org.eclipse.osee.app/OSEE-INF/oseeApp/js/oseeAppController.js
@@ -26,10 +26,10 @@ app.controller('oseeAppController', [ 'OseeAppSchema', '$route', '$scope',
vm.doList = true;
});
} else {
- vm.itemDataResource.get({
+ vm.itemDataResource.query({
atsId : vm.element
}, function(data) {
- vm.oseeAppData = data;
+ vm.oseeAppData = data[0];
vm.doItem = true;
});
}
diff --git a/plugins/org.eclipse.osee.app/OSEE-INF/oseeApp/js/oseeListController.js b/plugins/org.eclipse.osee.app/OSEE-INF/oseeApp/js/oseeListController.js
index 65435cfc70..5898dcf225 100644
--- a/plugins/org.eclipse.osee.app/OSEE-INF/oseeApp/js/oseeListController.js
+++ b/plugins/org.eclipse.osee.app/OSEE-INF/oseeApp/js/oseeListController.js
@@ -19,7 +19,7 @@ app.controller('oseeListController', [ 'OseeAppSchema', '$route', '$resource',
vm.gridOptions = {
columnDefs : result.UIGridColumns
};
- vm.listDataResource = $resource(result.ItemRestURL);
+ vm.listDataResource = $resource(result.ListRestURL);
vm.listDataResource.query(function(listData) {
vm.gridOptions = {
enableColumnResizing : true,

Back to the top