Forms not update in general manage panel
Bug #741744 reported by
Quentin Estoppey
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Eventum |
Won't Fix
|
Low
|
Elan Ruusamäe |
Bug Description
The 4 new options for default notifications options cannot be update through mange/general.php page.
Please ass a test (isset) for the 4 new checkbox:
$setup["update"] = isset($
$setup["closed"] = isset($
$setup["emails"] = isset($
$setup["files"] = isset($
Otherwise ther is an empty error
Changed in eventum: | |
milestone: | none → 2.3.4 |
Changed in eventum: | |
milestone: | 2.3.4 → 2.4 |
To post a comment you must log in.
Again I remember now that file notification. tpl.html doen't take in account the setup of thise options. If you set not notifications options by defaults (checkboxes unchecked in general manage panel), then the web interface still have the box checked by default.
To take in account the option setup, code should be like that (add of $default_ actions. emails= =1 condition in if): actions. emails == 1) || $info.emails == 1}checked{/if} value="emails"> <a id="link" class="link" href="javascrip t:void( null);" onClick= "toggleCheckbox ('notification_ form', 'actions[]', 0);">{t}Emails are Received or Sent{/t}</a><br /> actions. updated == 1) || $info.updated == 1}checked{/if} value="updated"> <a id="link" class="link" href="javascrip t:void( null);" onClick= "toggleCheckbox ('notification_ form', 'actions[]', 1);">{t}Overview or Details are Changed{/t}</a><br /> actions. closed == 1) || $info.closed == 1}checked{/if} value="closed"> <a id="link" class="link" href="javascrip t:void( null);" onClick= "toggleCheckbox ('notification_ form', 'actions[]', 2);">{t}Issue is Closed{/t}</a><br /> actions. files == 1) || $info.files == 1}checked{/if} value="files"> <a id="link" class="link" href="javascrip t:void( null);" onClick= "toggleCheckbox ('notification_ form', 'actions[]', 3);">{t}Files are Attached{/t}</a>
<input type="checkbox" name="actions[]" {if ($info == '' && $default_
<input type="checkbox" name="actions[]" {if ($info == '' && $default_
<input type="checkbox" name="actions[]" {if ($info == '' && $default_
<input type="checkbox" name="actions[]" {if ($info == '' && $default_