add item to the dropdown menu
This commit is contained in:
@@ -8,9 +8,14 @@ class Plugin extends Base
|
||||
{
|
||||
public function initialize()
|
||||
{
|
||||
// Add a "Move all tasks to another column" entry to the board column
|
||||
// header dropdown. The hook passes the current $column and $swimlane.
|
||||
// Render the "Move tasks in bulk" entry. The only column hook sits outside the
|
||||
// native menu <ul>, so column_dropdown.php renders it hidden and relocate.js
|
||||
// moves it into the menu (passes the current $column and $swimlane).
|
||||
$this->template->hook->attach('template:board:column:dropdown', 'bulkMoveTasks:board/column_dropdown');
|
||||
|
||||
$this->hook->on('template:layout:js', array(
|
||||
'template' => 'plugins/BulkMoveTasks/Asset/js/relocate.js',
|
||||
));
|
||||
}
|
||||
|
||||
public function getPluginName()
|
||||
|
||||
Reference in New Issue
Block a user