-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added byday recurrence feature #918
Conversation
}); | ||
ctrl.transferDaysToByDay = function(newDays) { | ||
angular.forEach(newDays, function(value, key) { | ||
if(typeof $scope.properties.rrule.byday === 'undefined') { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
angular.isUndefined
@@ -64,7 +64,7 @@ app.controller('RecurrenceController', function($scope) { | |||
$scope.rruleNotSupported = true; | |||
} | |||
|
|||
if (typeof $scope.properties.rrule.parameters !== 'undefined') { | |||
if (!angular.isUndefined($scope.properties.rrule.parameters)) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
dont use inverted logic - https://docs.angularjs.org/api/ng/function/angular.isDefined
The day picker is not working for me .... |
jslint didn't tell me... alright I will have a look at it... Which day picker exactly? |
the monday, tueseday and so on one .... will show you these days live ... |
Seems like jslint didn't build the js sources correctly because of this error. I will fix it and then it should build |
@Julian1998 ping |
Codecov Report
@@ Coverage Diff @@
## master #918 +/- ##
==========================================
- Coverage 58.55% 58.12% -0.43%
==========================================
Files 66 66
Lines 3274 3305 +31
==========================================
+ Hits 1917 1921 +4
- Misses 1357 1384 +27
Continue to review full report at Codecov.
|
looks like tests are failing
|
Instructions:
Possible scenarios:
All events should render correctly even when changing the first day of the week or/and language
All scenarios work fine in Chrome