Commit 029167ad authored by Michael Fürmann's avatar Michael Fürmann
Browse files

Removed management method 'mailaccount' as long as maildomain hook is not implemented

parent e3ba298b
// Not needed as long as maildomain hook is not implemented
$('#management_method').on('select2-selecting', function(e){
val = e.choice ? :;
if(val == 0){
......@@ -73,13 +73,16 @@
management by maildomain is currently not supported
<div class="form-group">
<label for="management_method" class="col-sm-3 control-label">{tmpl_var name='management_method_txt'}</label>
<div class="col-sm-9"><select name="management_method" id="management_method" class="form-control">
{tmpl_var name='management_method'}
<input type="hidden" name="management_method" id="management_method" value="0" />
<div id="toggle-management-normal" class="collapse">
......@@ -92,7 +95,7 @@
<input type="hidden" name="public_registration" id="public_registration" value="n" />
<div id="toggle-registration-closed" class="collapse">
<div id="toggle-registration-closed" class="collapse in">
<div class="form-group">
<label for="registration_url" class="col-sm-3 control-label">{tmpl_var name='registration_url_txt'}</label>
<div class="col-sm-9">
......@@ -264,6 +264,8 @@ class page_action extends tform_actions {
// Read management method
// Set management method to 0 as long as the mailaccount hook is not implemented
$this->dataRecord["management_method"] = 0;
case 0:
$this->dataRecord["management_method"] = 'normal';
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment