From 3560c8d8e14e5ddc8a619844d9ab86d3b9d8d52e Mon Sep 17 00:00:00 2001
From: Till Brehm <tbrehm@ispconfig.org>
Date: Wed, 06 Jul 2016 10:29:10 -0400
Subject: [PATCH] Fixed issue in SQL lib.
---
interface/web/sites/templates/web_vhost_domain_ssl.htm | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/interface/web/sites/templates/web_vhost_domain_ssl.htm b/interface/web/sites/templates/web_vhost_domain_ssl.htm
index 167af9e..ad9629f 100644
--- a/interface/web/sites/templates/web_vhost_domain_ssl.htm
+++ b/interface/web/sites/templates/web_vhost_domain_ssl.htm
@@ -91,7 +91,7 @@
$('#reset_data').click(function(){
$('#ssl_organisation').add('#ssl_locality').add('#ssl_state').add('#ssl_organisation_unit').val('');
- $('#ssl_country').val($("#ssl_country option:first").val());
+ $('#ssl_country').val($("#ssl_country option:first").val()).trigger('change');
});
$('#load_data').click(function(){
loadClientData();
@@ -104,7 +104,7 @@
jQuery.getJSON('sites/ajax_get_json.php'+ '?' + Math.round(new Date().getTime()), {'web_id': web_id, 'type': "getclientssldata"}, function(data) {
$('#ssl_organisation').val(data['company_name']);
$('#ssl_locality').val(data['city']);
- $('#ssl_country').val(data['country']);
+ $('#ssl_country').val(data['country']).trigger('change');
$('#ssl_state').val(data['state']);
$('#ssl_organisation_unit').val('IT');
});
--
Gitblit v1.9.1