New tweak JS for clickable gear subtasks bugfix v2.3.0
This commit is contained in:
11
Plugin.php
11
Plugin.php
@@ -19,6 +19,15 @@ class Plugin extends Base
|
||||
'template' => 'plugins/OrganonTweaks/Asset/js/relocate.js',
|
||||
));
|
||||
|
||||
// Fix a core Kanboard touch bug: the subtask / board-column / swimlane reorder sortables
|
||||
// use handle:"td:first i", which makes the gear/caret menu icons and the subtask status
|
||||
// checkbox (all <i> in the first cell) drag handles too, so on touch devices Touch Punch
|
||||
// swallows their taps -- the gear "drags" instead of opening. Re-scope the handle to the
|
||||
// real drag icon (.draggable-row-handle) in JS. Always on; harmless on desktop.
|
||||
$this->hook->on('template:layout:js', array(
|
||||
'template' => 'plugins/OrganonTweaks/Asset/js/sortable-handle-fix.js',
|
||||
));
|
||||
|
||||
// Settings page for the plugin's tweaks.
|
||||
$this->template->hook->attach('template:config:sidebar', 'organonTweaks:config/sidebar');
|
||||
|
||||
@@ -198,7 +207,7 @@ class Plugin extends Base
|
||||
|
||||
public function getPluginVersion()
|
||||
{
|
||||
return '2.2.0';
|
||||
return '2.3.0';
|
||||
}
|
||||
|
||||
public function getPluginHomepage()
|
||||
|
||||
Reference in New Issue
Block a user