diff --git a/Gruntfile.js b/Gruntfile.js
index 16f7be03..fb50f830 100644
--- a/Gruntfile.js
+++ b/Gruntfile.js
@@ -36,7 +36,7 @@ module.exports = function (grunt) {
tasks: ['wiredep']
},
js: {
- files: ['<%= yeoman.app %>/scripts/{,*/}*.js', '<%= yeoman.app %>/admin_components/**/*.js'],
+ files: ['<%= yeoman.app %>/scripts/{,*/}*.js', '<%= yeoman.app %>/admin_components/**/*.js', '<%= yeoman.app %>/services/*.js'],
tasks: ['newer:jshint:all'],
options: {
livereload: '<%= connect.options.livereload %>'
@@ -121,7 +121,8 @@ module.exports = function (grunt) {
all: {
src: [
'Gruntfile.js',
- '<%= yeoman.app %>/scripts/{,*/}*.js'
+ '<%= yeoman.app %>/scripts/{,*/}*.js',
+ '<%= yeoman.app %>/services/*.js'
]
},
test: {
diff --git a/app/admin_components/adf-scripts/dreamfactory-scripts.js b/app/admin_components/adf-scripts/dreamfactory-scripts.js
index fb60c326..bc12fd7c 100644
--- a/app/admin_components/adf-scripts/dreamfactory-scripts.js
+++ b/app/admin_components/adf-scripts/dreamfactory-scripts.js
@@ -801,6 +801,12 @@ angular.module('dfScripts', ['ngRoute', 'dfUtility'])
watchSelections();
watchApiData();
});
+
+ // TODO Temporary hack to handle view render. Need to replace with more explicit solution.
+ $scope.showTutorialStep = function (currentStepId, nextStepId) {
+ return FeatureTour.showStep(currentStepId, nextStepId);
+ }
+
}])
.directive('scriptSidebarMenu', ['MODSCRIPTING_ASSET_PATH', function (MODSCRIPTING_ASSET_PATH) {
diff --git a/app/admin_components/adf-scripts/views/main.html b/app/admin_components/adf-scripts/views/main.html
index 6a75ec65..3fb1b2d6 100644
--- a/app/admin_components/adf-scripts/views/main.html
+++ b/app/admin_components/adf-scripts/views/main.html
@@ -1,5 +1,5 @@