Commit f3bd6054 authored by Marius Cramer's avatar Marius Cramer
Browse files

- ported some patches

parent d5f2d5f5
...@@ -91,7 +91,7 @@ ...@@ -91,7 +91,7 @@
$('#reset_data').click(function(){ $('#reset_data').click(function(){
$('#ssl_organisation').add('#ssl_locality').add('#ssl_state').add('#ssl_organisation_unit').val(''); $('#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(){ $('#load_data').click(function(){
loadClientData(); loadClientData();
...@@ -104,7 +104,7 @@ ...@@ -104,7 +104,7 @@
jQuery.getJSON('sites/ajax_get_json.php'+ '?' + Math.round(new Date().getTime()), {'web_id': web_id, 'type': "getclientssldata"}, function(data) { 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_organisation').val(data['company_name']);
$('#ssl_locality').val(data['city']); $('#ssl_locality').val(data['city']);
$('#ssl_country').val(data['country']); $('#ssl_country').val(data['country']).trigger('change');
$('#ssl_state').val(data['state']); $('#ssl_state').val(data['state']);
$('#ssl_organisation_unit').val('IT'); $('#ssl_organisation_unit').val('IT');
}); });
......
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