Guest User

Untitled

a guest
Oct 23rd, 2015
151
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.   $scope.navigatorConfig = {
  2.                     selectMode: "day",
  3.                     showMonths: 10,
  4.                     orientation: "Horizontal",
  5.                     // cssClassPrefix: "navigator_8", https://doc.daypilot.org/navigator/css/
  6.                     onTimeRangeSelected: function(args) {
  7.                         if(typeof $scope.selectedDate == 'undefined' || $scope.selectedDate.getMonth != args.start.getMonth()){
  8.                             $scope.selectedDate = args.start;
  9.                             loadEvents($scope.selectedDate);
  10.                         }
  11.                         else{
  12.                             loadTimeline(args.start);
  13.                         }  
  14.                     }
  15.                 };
Advertisement
Add Comment
Please, Sign In to add comment