From 4bd960b10d9f32cb8a82a0718caaa005768c107c Mon Sep 17 00:00:00 2001 From: tbrehm <t.brehm@ispconfig.org> Date: Wed, 24 Oct 2012 06:07:53 -0400 Subject: [PATCH] Merged revisions 3557-3594 from 3.0.5 stable branch. --- interface/web/sites/templates/web_vhost_subdomain_edit.htm | 5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) diff --git a/interface/web/sites/templates/web_vhost_subdomain_edit.htm b/interface/web/sites/templates/web_vhost_subdomain_edit.htm index ce89c84..60d887e 100644 --- a/interface/web/sites/templates/web_vhost_subdomain_edit.htm +++ b/interface/web/sites/templates/web_vhost_subdomain_edit.htm @@ -167,7 +167,6 @@ if(data.servertype == "nginx"){ var selected = jQuery('#php').val(); jQuery('.apache').hide(); - jQuery('.apache').hide(); jQuery('#php option[value="fast-cgi"]').hide(); jQuery('#php option[value="cgi"]').hide(); jQuery('#php option[value="mod"]').hide(); @@ -175,12 +174,12 @@ if(selected != "no" && selected != "php-fpm") jQuery('#php option[value="php-fpm"]').attr('selected', 'selected'); } else { jQuery('.apache').show(); - jQuery('.apache').show(); jQuery('#php option[value="fast-cgi"]').show(); jQuery('#php option[value="cgi"]').show(); jQuery('#php option[value="mod"]').show(); jQuery('#php option[value="suphp"]').show(); } + jQuery('#php').change(); }); } @@ -201,7 +200,7 @@ } options += '<option value="'+key+'"'+phpfastcgiselected+'>'+val+'</option>'; }); - $('#fastcgi_php_version').html(options); + $('#fastcgi_php_version').html(options).change(); }); } -- Gitblit v1.9.1