Projekt

Obecné

Profil

« Předchozí | Další » 

Revize 2245

Přidáno uživatelem David Raška před téměř 11 roky(ů)

Opravy:
- fixes #819: Oprava naseptavace v Internet Exploreru

Zobrazit rozdíly:

freenetis/branches/1.1/application/controllers/json.php
}
else
{
json_decode(array());
json_encode(array());
}
}
else
{
json_decode(array());
json_encode(array());
}
}
freenetis/branches/1.1/application/views/js/__pieces/address_point_database.php
apd_xhr = $.ajax({
url: '<?php echo url::base() ?>cs/json/get_address',
dataType: "json",
data: "street="+get_el('street', this).val()+"&country="+get_el('country_id').val()+"&town="+get_el('town').val()+"&district="+get_el('district').val(),
data: "street="+encodeURIComponent(get_el('street', this).val())+"&country="+encodeURIComponent(get_el('country_id').val())+"&town="+encodeURIComponent(get_el('town').val())+"&district="+encodeURIComponent(get_el('district').val()),
success: function( data ) {
get_el('street', this._parent).removeClass('ui-autocomplete-loading');
response( $.map(data, function ( item ) {
......
apd_xhr = $.ajax({
url: '<?php echo url::base() ?>cs/json/get_address',
dataType: "json",
data: "town="+get_el('town', this).val()+"&district="+get_el('district').val()+"&country="+get_el('country_id').val(),
data: "town="+encodeURIComponent(get_el('town', this).val())+"&district="+encodeURIComponent(get_el('district').val())+"&country="+encodeURIComponent(get_el('country_id').val()),
success: function( data ) {
get_el('district', this._parent).removeClass('ui-autocomplete-loading');
response( $.map(data, function ( item ) {
......
apd_xhr = $.ajax({
url: '<?php echo url::base() ?>cs/json/get_address',
dataType: "json",
data: "town="+get_el('town', this).val()+"&country="+get_el('country_id').val(),
data: "town="+encodeURIComponent(get_el('town', this).val())+"&country="+encodeURIComponent(get_el('country_id').val()),
success: function( data ) {
get_el('town', this._parent).removeClass('ui-autocomplete-loading');
response( $.map(data, function ( item ) {
freenetis/branches/1.1/application/views/js/__pieces/whisperer_gps.php
gps_get = $.ajax({
url: '<?php echo url_lang::base() ?>address_points/get_gps_by_address_string/',
data: "country_id="+$("#country_id").val()+"&town="+$("#town").val()+"&district="+$("#district").val()+"&street="+$("#street").val()+"&zip="+$("#zip").val(),
data: "country_id="+encodeURIComponent($("#country_id").val())+"&town="+encodeURIComponent($("#town").val())+"&district="+encodeURIComponent($("#district").val())+"&street="+encodeURIComponent($("#street").val())+"&zip="+encodeURIComponent($("#zip").val()),
success: function( data ) {
if (data !== '')
{
......
domicile_gps_get = $.ajax({
url: '<?php echo url_lang::base() ?>address_points/get_gps_by_address_string/',
data: "country_id="+$("#domicile_country_id").val()+"&town="+$("#domicile_town").val()+"&street="+$("#domicile_street").val()+"&zip="+$("#domicile_zip").val(),
data: "country_id="+encodeURIComponent($("#domicile_country_id").val())+"&town="+encodeURIComponent($("#domicile_town").val())+"&street="+encodeURIComponent($("#domicile_street").val())+"&zip="+encodeURIComponent($("#domicile_zip").val()),
success: function( data ) {
if (data !== '')
{

Také k dispozici: Unified diff