Work in progress on templates plugin.
[timetracker.git] / plugins.php
index bf0e527..e20bb96 100644 (file)
@@ -95,7 +95,7 @@ $form->addInput(array('type'=>'checkbox','name'=>'work_units','value'=>$cl_work_
 $form->addInput(array('type'=>'checkbox','name'=>'approval','value'=>$cl_approval));
 $form->addInput(array('type'=>'checkbox','name'=>'timesheets','value'=>$cl_timesheets));
 if (isTrue('TEMPLATES_DEBUG')) {
-  $form->addInput(array('type'=>'checkbox','name'=>'templates','value'=>$cl_templates));
+  $form->addInput(array('type'=>'checkbox','name'=>'templates','value'=>$cl_templates,'onchange'=>'handlePluginCheckboxes()'));
 }
 // Submit button.
 $form->addInput(array('type'=>'submit','name'=>'btn_save','value'=>$i18n->get('button.save')));