feat: add trello column card selection
This commit is contained in:
parent
07707d9e52
commit
dac931ece7
@ -888,11 +888,18 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
module.getSelectedIssueKeyList = function() {
|
module.getSelectedIssueKeyList = function() {
|
||||||
|
//Board view
|
||||||
|
if (/.*\/b\/.*/g.test(document.URL)) {
|
||||||
|
return $( "textarea.list-header-name.is-editing" ).parent().parent().find(".list-cards > .list-card > .list-card-details > .list-card-title").map(function() {
|
||||||
|
return $(this).attr("href").match(/.*\/c\/([^/]*).*/)[1];
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
//Card View
|
//Card View
|
||||||
if (/.*\/c\/.*/g.test(document.URL)) {
|
if (/.*\/c\/.*/g.test(document.URL)) {
|
||||||
return [document.URL.match(/.*\/c\/([^/]*).*/)[1]];
|
return [document.URL.match(/.*\/c\/([^/]*).*/)[1]];
|
||||||
}
|
}
|
||||||
|
|
||||||
return [];
|
return [];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user