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
26eb16eb
Commit
26eb16eb
authored
Apr 30, 2014
by
lduarte1991
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added unit signifier - narrower annotation target
parent
24abd2bb
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletions
+4
-1
lms/templates/textannotation.html
+2
-0
lms/templates/videoannotation.html
+2
-1
No files found.
lms/templates/textannotation.html
View file @
26eb16eb
...
@@ -54,6 +54,8 @@
...
@@ -54,6 +54,8 @@
uri
=
window
.
location
.
protocol
;
uri
=
window
.
location
.
protocol
;
for
(
var
index
=
0
;
index
<=
9
;
index
+=
1
)
uri
+=
lms_location
.
split
(
"/"
)[
index
]
+
"/"
;
//Get the unit url
for
(
var
index
=
0
;
index
<=
9
;
index
+=
1
)
uri
+=
lms_location
.
split
(
"/"
)[
index
]
+
"/"
;
//Get the unit url
}
}
var
unit_id
=
$
(
'#sequence-list'
).
find
(
'.active'
).
attr
(
"data-element"
);
uri
+=
unit_id
;
var
pagination
=
100
,
var
pagination
=
100
,
is_staff
=
!
(
'${user.is_staff}'
==
'False'
),
is_staff
=
!
(
'${user.is_staff}'
==
'False'
),
options
=
{
options
=
{
...
...
lms/templates/videoannotation.html
View file @
26eb16eb
...
@@ -57,7 +57,8 @@
...
@@ -57,7 +57,8 @@
uri
=
window
.
location
.
protocol
;
uri
=
window
.
location
.
protocol
;
for
(
var
index
=
0
;
index
<=
9
;
index
+=
1
)
uri
+=
lms_location
.
split
(
"/"
)[
index
]
+
"/"
;
//Get the unit url
for
(
var
index
=
0
;
index
<=
9
;
index
+=
1
)
uri
+=
lms_location
.
split
(
"/"
)[
index
]
+
"/"
;
//Get the unit url
}
}
var
unit_id
=
$
(
'#sequence-list'
).
find
(
'.active'
).
attr
(
"data-element"
);
uri
+=
unit_id
;
var
pagination
=
100
,
var
pagination
=
100
,
is_staff
=
!
(
'${user.is_staff}'
==
'False'
),
is_staff
=
!
(
'${user.is_staff}'
==
'False'
),
options
=
{
options
=
{
...
...
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