Skip to content
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

Javascript error when creating new assignments #943

Open
kitsook opened this issue Jan 30, 2020 · 0 comments
Open

Javascript error when creating new assignments #943

kitsook opened this issue Jan 30, 2020 · 0 comments

Comments

@kitsook
Copy link
Contributor

kitsook commented Jan 30, 2020

ComPAIR version 1.2.4

Scenario:

  • create a new assignment
  • input all mandatory fields without changing the Answer Ends time
    image
  • click save

The assignment saved successfully with the following javascript error shown on developer console:

Error: $scope.date.aend.time.toTimeString is not a function
$scope.showAssignmentErrors@http://localhost:8080/app/modules/assignment/assignment-module.js:1938:108
fn@http://localhost:8080/app/lib/angular/angular.js line 15126 > Function:4:550
expensiveCheckFn@http://localhost:8080/app/lib/angular/angular.js:16213:18
callback@http://localhost:8080/app/lib/angular/angular.js:26592:19
$eval@http://localhost:8080/app/lib/angular/angular.js:17994:28
$apply@http://localhost:8080/app/lib/angular/angular.js:18094:25
ngEventHandler/<@http://localhost:8080/app/lib/angular/angular.js:26597:23
dispatch@http://localhost:8080/app/lib/jquery/dist/jquery.js:4737:27
add/elemData.handle@http://localhost:8080/app/lib/jquery/dist/jquery.js:4549:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants