Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
71e9f448
Commit
71e9f448
authored
Aug 08, 2014
by
lduarte1991
Committed by
David Baumgold
Aug 08, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Annotator Tools: Fix major logic bug in code
parent
26b08a02
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
common/static/js/vendor/ova/flagging-annotator.js
+3
-2
No files found.
common/static/js/vendor/ova/flagging-annotator.js
View file @
71e9f448
...
@@ -76,8 +76,9 @@ Annotator.Plugin.Flagging = (function(_super) {
...
@@ -76,8 +76,9 @@ Annotator.Plugin.Flagging = (function(_super) {
*/
*/
Flagging
.
prototype
.
updateField
=
function
(
field
,
annotation
)
{
Flagging
.
prototype
.
updateField
=
function
(
field
,
annotation
)
{
// figure out whether annotation is of image or not
// figure out whether annotation is of type image or if ova is not defined (meaning it
var
user_email
=
annotation
.
media
===
"image"
?
// it doesn't have a type yet, but it is still an image).
var
user_email
=
(
annotation
.
media
===
"image"
||
typeof
ova
===
'undefined'
)
?
osda
.
options
.
optionsAnnotator
.
permissions
.
user
.
id
:
osda
.
options
.
optionsAnnotator
.
permissions
.
user
.
id
:
ova
.
options
.
optionsAnnotator
.
permissions
.
user
.
id
;
ova
.
options
.
optionsAnnotator
.
permissions
.
user
.
id
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment