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
e267409e
Commit
e267409e
authored
Aug 01, 2014
by
lduarte1991
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Annotator Tools: Fixing annotator break in login and dashboard
parent
a0b4f8b6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
common/static/js/vendor/ova/share-annotator.js
+3
-3
No files found.
common/static/js/vendor/ova/share-annotator.js
View file @
e267409e
...
...
@@ -141,7 +141,7 @@ Annotator.Plugin.Share = (function(_super) {
event
.
preventDefault
();
// disable normal link function so that it doesn't refresh the page
annotation
=
share
.
getAnnotationFromId
(
event
.
currentTarget
.
attributes
.
annotationid
);
var
_field
=
this
;
var
ovaId
=
annotation
.
id
,
var
ovaId
=
annotation
.
id
;
var
title
;
if
(
method
==
1
)
{
title
=
'Share'
;
...
...
@@ -221,7 +221,7 @@ Annotator.Plugin.Share = (function(_super) {
source
=
this
.
annotation
.
id
;
}
else
{
// method 2
var
annotator
=
this
.
annotator
;
var
editor
=
annotator
.
editor
,
var
editor
=
annotator
.
editor
;
var
textarea
=
$
(
editor
.
element
).
find
(
'textarea'
)[
0
];
if
(
source
==
'ovaText'
)
...
...
@@ -258,7 +258,7 @@ Annotator.Plugin.Share = (function(_super) {
The first option is to give a known id of an annotation
Example http:// url.com/#id=rTcpOjIMT2aF1apDtboC-Q
*/
var
API
=
{}
,
var
API
=
{}
;
var
ovaId
=
this
.
getParameterByName
(
'ovaId'
);
// Method 1 (Obligatory)
var
start
=
this
.
getParameterByName
(
'ovaStart'
);
// Method 2 (Obligatory)
var
end
=
this
.
getParameterByName
(
'ovaEnd'
);
// Method 2 (Obligatory)
...
...
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