3 Commits

4 changed files with 17 additions and 8 deletions

View File

@@ -36,16 +36,21 @@
} }
function init() { function init() {
if (!document.getElementById("board")) { var container = document.getElementById("board-container");
if (!container) {
return; return;
} }
relocate(); relocate();
var container = document.getElementById("board-container"); // BoardDragAndDrop.refresh() does $("#board-container").replaceWith(data) on every
// drag-and-drop and poll refresh, so an observer bound to #board-container would be
if (container && window.MutationObserver) { // left watching a detached node and never fire again (the entry vanishes until F5).
new MutationObserver(relocate).observe(container, { childList: true, subtree: true }); // Observe the stable parent instead: it survives the swap, and its childList mutation
// fires exactly when the container is replaced, so relocate() re-runs on the new DOM.
if (window.MutationObserver && container.parentNode) {
new MutationObserver(relocate).observe(container.parentNode, { childList: true, subtree: true });
} }
} }

View File

@@ -35,7 +35,7 @@ class Plugin extends Base
public function getPluginVersion() public function getPluginVersion()
{ {
return '1.0.1'; return '1.0.4';
} }
public function getPluginHomepage() public function getPluginHomepage()

View File

@@ -37,7 +37,7 @@ the folder name). No build step and no database migration.
AGPL-3.0. See LICENSE. AGPL-3.0. See LICENSE.
## More Kanboard plugins by Ruben (drbeco) ## More Kanboard plugins by Dr. Beco
All free and AGPL-3.0, at [code.beco.cc](https://code.beco.cc/beco): All free and AGPL-3.0, at [code.beco.cc](https://code.beco.cc/beco):
@@ -45,6 +45,10 @@ All free and AGPL-3.0, at [code.beco.cc](https://code.beco.cc/beco):
monthly, weekly, daily), driven by the card due date. monthly, weekly, daily), driven by the card due date.
- **[FinanceBuddy](https://code.beco.cc/beco/FinanceBuddy)** -- attach a money value (debit/credit - **[FinanceBuddy](https://code.beco.cc/beco/FinanceBuddy)** -- attach a money value (debit/credit
and installments) to cards, shown on the card and totalled per column. and installments) to cards, shown on the card and totalled per column.
- **[QualKard](https://code.beco.cc/beco/QualKard)** -- flashcard spaced repetition: grade a card by
dragging it to a column, and it comes back when due (needs RecoReco).
- **[WorkspaceOrg](https://code.beco.cc/beco/WorkspaceOrg)** -- group your projects into personal
per-user workspaces, shown on a "My workspaces" dashboard page with a badge on each project.
- **[OrganonTweaks](https://code.beco.cc/beco/OrganonTweaks)** -- an umbrella of small - **[OrganonTweaks](https://code.beco.cc/beco/OrganonTweaks)** -- an umbrella of small
quality-of-life board tweaks: remove an empty column, always show the comment icon, emphasize due quality-of-life board tweaks: remove an empty column, always show the comment icon, emphasize due
dates, extra search keywords and shared board filters, and more. dates, extra search keywords and shared board filters, and more.

View File

@@ -1 +1 @@
BulkMoveTasks v1.0.1 BulkMoveTasks v1.0.4