Added unit signifier - narrower annotation target

This commit is contained in:
lduarte1991
2014-04-30 12:24:07 -04:00
parent 24abd2bb86
commit 26eb16ebc2
2 changed files with 4 additions and 1 deletions

View File

@@ -54,6 +54,8 @@
uri = window.location.protocol;
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,
is_staff = !('${user.is_staff}'=='False'),
options = {

View File

@@ -57,7 +57,8 @@
uri = window.location.protocol;
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,
is_staff = !('${user.is_staff}'=='False'),
options = {