move select via external JS (CSP fix); rows show id/owner/config + ws counts

This commit is contained in:
2026-07-12 22:44:33 -03:00
parent 5728cf37b2
commit 1b932127d8
7 changed files with 114 additions and 29 deletions

View File

@@ -27,6 +27,12 @@ class Plugin extends Base
$this->hook->on('template:layout:css', array(
'template' => 'plugins/WorkspaceOrg/Asset/css/workspaceorg.css',
));
// Submits the inline "move to workspace" select on change. Must be an external script:
// Kanboard's CSP (default-src 'self') blocks inline onchange handlers.
$this->hook->on('template:layout:js', array(
'template' => 'plugins/WorkspaceOrg/Asset/js/workspaceorg.js',
));
}
public function getHelpers()
@@ -53,7 +59,7 @@ class Plugin extends Base
public function getPluginVersion()
{
return '0.1.0';
return '0.2.0';
}
public function getPluginHomepage()