Getting in notification to select order cycle

This commit is contained in:
Will Marshall
2014-04-07 13:14:32 +10:00
parent 5c999fd9cf
commit 1c22a2c848
4 changed files with 16 additions and 10 deletions

View File

@@ -2058,7 +2058,7 @@ angular.module( 'mm.foundation.tour', [ 'mm.foundation.position', 'mm.foundation
};
}])
.directive( 'stepText', [ '$position', '$tooltip', '$tour', '$window', function ( $position, $tooltip, $tour, $window ) {
.directive( 'step', [ '$position', '$tooltip', '$tour', '$window', function ( $position, $tooltip, $tour, $window ) {
function isElementInViewport( element ) {
var rect = element[0].getBoundingClientRect();
@@ -2092,6 +2092,7 @@ angular.module( 'mm.foundation.tour', [ 'mm.foundation.position', 'mm.foundation
return $tooltip( 'step', 'step', show );
}]);
angular.module('mm.foundation.typeahead', ['mm.foundation.position', 'mm.foundation.bindHtml'])
/**
@@ -2602,7 +2603,7 @@ angular.module("template/tour/tour.html", []).run(["$templateCache", function($t
" <h4 ng-bind=\"title\" ng-show=\"title\"></h4>\n" +
" <p ng-bind=\"content\"></p>\n" +
" <a class=\"small button joyride-next-tip\" ng-show=\"!isLastStep()\" ng-click=\"nextStep()\">Next</a>\n" +
" <a class=\"small button joyride-next-tip\" ng-show=\"isLastStep()\" ng-click=\"endTour()\">End</a>\n" +
//" <a class=\"small button joyride-next-tip\" ng-show=\"isLastStep()\" ng-click=\"endTour()\">Close</a>\n" +
" <a class=\"joyride-close-tip\" ng-click=\"endTour()\">&times;</a>\n" +
" </div>\n" +
"</div>\n" +