File tree Expand file tree Collapse file tree 3 files changed +9
-2
lines changed
Expand file tree Collapse file tree 3 files changed +9
-2
lines changed Original file line number Diff line number Diff line change 11$ ( 'document' ) . ready ( function ( ) {
2+ // Not needed as long as maildomain hook is not implemented
3+ return ;
24 $ ( '#management_method' ) . on ( 'select2-selecting' , function ( e ) {
35 val = e . choice ? e . choice . id : e . target . selectedIndex ;
46 if ( val == 0 ) {
Original file line number Diff line number Diff line change @@ -73,13 +73,16 @@ <h1><tmpl_var name="list_head_txt"></h1>
7373
7474
7575
76-
76+ <!--
77+ management by maildomain is currently not supported
7778<div class="form-group">
7879 <label for="management_method" class="col-sm-3 control-label">{tmpl_var name='management_method_txt'}</label>
7980 <div class="col-sm-9"><select name="management_method" id="management_method" class="form-control">
8081 {tmpl_var name='management_method'}
8182 </select></div>
8283</div>
84+ -->
85+ < input type ="hidden " name ="management_method " id ="management_method " value ="0 " />
8386
8487< div id ="toggle-management-normal " class ="collapse ">
8588 <!--
@@ -92,7 +95,7 @@ <h1><tmpl_var name="list_head_txt"></h1>
9295 </div-->
9396</ div >
9497 < input type ="hidden " name ="public_registration " id ="public_registration " value ="n " />
95- < div id ="toggle-registration-closed " class ="collapse ">
98+ < div id ="toggle-registration-closed " class ="collapse in ">
9699 < div class ="form-group ">
97100 < label for ="registration_url " class ="col-sm-3 control-label "> {tmpl_var name='registration_url_txt'}</ label >
98101 < div class ="col-sm-9 ">
Original file line number Diff line number Diff line change @@ -264,6 +264,8 @@ function onSubmit() {
264264
265265 // Read management method
266266 if (isset ($ this ->dataRecord ["management_method " ]))
267+ // Set management method to 0 as long as the mailaccount hook is not implemented
268+ $ this ->dataRecord ["management_method " ] = 0 ;
267269 switch ($ this ->dataRecord ["management_method " ]){
268270 case 0 :
269271 $ this ->dataRecord ["management_method " ] = 'normal ' ;
You can’t perform that action at this time.
0 commit comments