From f3bd6054b053ba2865a5eb7ee9a988b37becb15f Mon Sep 17 00:00:00 2001
From: Marius Cramer <m.cramer@pixcept.de>
Date: Wed, 15 Apr 2015 09:47:30 -0400
Subject: [PATCH] - ported some patches
---
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