diff --git a/Gruntfile.js b/Gruntfile.js index 26e0044a0..546f1d624 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -67,6 +67,12 @@ module.exports = function(grunt) { host: 'mms-ts-uat.jpl.nasa.gov',//'localhost',//'100.64.243.161', port: 8080 }, + { + context: '/xlrapi', + https: serverHttps, + host: servers[key], + port: serverPort + }, { context: '/alfresco', // '/api' host: servers[key], @@ -347,7 +353,7 @@ module.exports = function(grunt) { artifactory: { options: { url: artifactoryUrl, - repository: releaseRepo, //snapshotRepo, + repository: releaseRepo, username: artifactoryUser, password: artifactoryPassword }, @@ -358,7 +364,7 @@ module.exports = function(grunt) { options: { publish: [{ id: groupId + ':ve:zip', - version: '3.5.1', + version: '3.5.2', path: 'deploy/' }] } diff --git a/app/js/mms/controllers/tree.controller.js b/app/js/mms/controllers/tree.controller.js index c0e479961..be2810263 100644 --- a/app/js/mms/controllers/tree.controller.js +++ b/app/js/mms/controllers/tree.controller.js @@ -691,7 +691,8 @@ function($anchorScroll, $q, $filter, $location, $uibModal, $scope, $rootScope, $ $scope.searchOptions = { callback: addExistingView, itemsPerPage: 200, - filterQueryList: [queryFilter] + filterQueryList: [queryFilter], + hideFilterOptions: true }; $scope.ok = function() { diff --git a/app/js/mms/directives/runXlr.js b/app/js/mms/directives/runXlr.js new file mode 100644 index 000000000..4e4eb94a1 --- /dev/null +++ b/app/js/mms/directives/runXlr.js @@ -0,0 +1,92 @@ +'use strict'; + +angular.module('mmsApp') + .directive('runXlr', ['$http', '$uibModal', '$window', 'growl', 'ApplicationService', runXlr]); + +function runXlr($http, $uibModal, $window, growl, ApplicationService) { + return { + template: '', + scope: { + templateId: '@', + xlrTaskName: '@' + }, + controller: ['$scope', runXlrCtrl], + link: runXlrLink + }; + function runXlrLink(scope, element, attrs, ctrls) {} + + function runXlrCtrl($scope) { + var modalOpen = false; + $scope.xlrTaskName = $scope.xlrTaskName ? $scope.xlrTaskName : 'Sync FN to JPL Network'; + $scope.runXLR = runXLR; + function runXLR() { + + modalOpen = true; + $uibModal.open({ + template: '
Begin by searching for the {{presentationElemType | lowercase}}, then click its name or documentation to add the {{presentationElemType | lowercase}}.
Begin by searching for the view, then click its name or documentation to add the view.