OrganonTweaks: enhance recurrence dialog -- Yes/No radios + [+7] factor button (JS); v1.3.0
This commit is contained in:
10
Plugin.php
10
Plugin.php
@@ -42,6 +42,14 @@ class Plugin extends Base
|
||||
'template' => 'plugins/OrganonTweaks/Asset/js/click-guard.js',
|
||||
));
|
||||
}
|
||||
|
||||
// Tweak: enhance the native "Edit recurrence" dialog (Yes/No radios + a [+7] button
|
||||
// on the factor). No template hook there, so it is done in JS.
|
||||
if ((int) $this->configModel->get('organon_tweaks_enhance_recurrence', 1) === 1) {
|
||||
$this->hook->on('template:layout:js', array(
|
||||
'template' => 'plugins/OrganonTweaks/Asset/js/enhance-recurrence.js',
|
||||
));
|
||||
}
|
||||
}
|
||||
|
||||
public function getHelpers()
|
||||
@@ -68,7 +76,7 @@ class Plugin extends Base
|
||||
|
||||
public function getPluginVersion()
|
||||
{
|
||||
return '1.2.1';
|
||||
return '1.3.0';
|
||||
}
|
||||
|
||||
public function getPluginHomepage()
|
||||
|
||||
Reference in New Issue
Block a user