Added project URL to body dataset.

This can be accessed using ProjectUtils.projectUrl(), requires Pillar
91e3ec659f68.
This commit is contained in:
2016-09-23 10:13:12 +02:00
parent 72a25434ea
commit 78111968ab
3 changed files with 4 additions and 4 deletions

View File

@@ -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');