fix: pivotaltracker for workspaces
This commit is contained in:
parent
1757babee1
commit
e74dfecbb0
@ -757,13 +757,20 @@
|
|||||||
return [document.URL.match(/.*\/stories\/([^?]*).*/)[1]];
|
return [document.URL.match(/.*\/stories\/([^?]*).*/)[1]];
|
||||||
}
|
}
|
||||||
|
|
||||||
// Board
|
// Project Board
|
||||||
if (/.*\/projects\/.*/g.test(document.URL)) {
|
if (/.*\/projects\/.*/g.test(document.URL)) {
|
||||||
return $('.story[data-id]:has(.selected)').map(function() {
|
return $('.story[data-id]:has(.selected)').map(function() {
|
||||||
return $(this).attr('data-id');
|
return $(this).attr('data-id');
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Workspace Board
|
||||||
|
if (/.*\/workspaces\/.*/g.test(document.URL)) {
|
||||||
|
return $('.story[data-id]:has(.selected)').map(function() {
|
||||||
|
return $(this).attr('data-id');
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
return [];
|
return [];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user