Added project URL to body dataset.
This can be accessed using ProjectUtils.projectUrl(), requires Pillar 91e3ec659f68.
This commit is contained in:
@@ -36,7 +36,7 @@
|
||||
*/
|
||||
function task_open(task_id, project_url) {
|
||||
if (task_id === undefined || project_url === undefined) {
|
||||
throw new ReferenceError("task_open(" + task_id + ", " + project_url + ") called.");
|
||||
throw new ReferenceError("task_open(" + task_id + ") called.");
|
||||
}
|
||||
|
||||
$('#col_right .col_header span.header_text').text('Task details');
|
||||
@@ -62,7 +62,7 @@ function task_open(task_id, project_url) {
|
||||
*/
|
||||
function shot_open(shot_id, project_url) {
|
||||
if (shot_id === undefined || project_url === undefined) {
|
||||
throw new ReferenceError("shot_open(" + shot_id + ", " + project_url + ") called.");
|
||||
throw new ReferenceError("shot_open(" + shot_id + ") called.");
|
||||
}
|
||||
|
||||
$('#col_right .col_header span.header_text').text('Shot details');
|
||||
|
Reference in New Issue
Block a user