[-] Mobile : Bug fix : Address block (data-ajax)

This commit is contained in:
François Gaillard
2013-03-25 17:58:45 +01:00
parent dda804bffc
commit 362108efd3
3 changed files with 23 additions and 23 deletions
+1 -1
View File
@@ -86,7 +86,7 @@ $(function(){ldelim}
<p class="required"><sup>*</sup> {l s='Required field'}</p> <p class="required"><sup>*</sup> {l s='Required field'}</p>
<form action="{$link->getPageLink('address', true)}" method="post" class="std" id="add_adress"> <form action="{$link->getPageLink('address', true)}" method="post" class="std" id="add_address">
<fieldset> <fieldset>
<h3>{if isset($id_address)}{l s='Your address'}{else}{l s='New address'}{/if}</h3> <h3>{if isset($id_address)}{l s='Your address'}{else}{l s='New address'}{/if}</h3>
<p class="required text dni"> <p class="required text dni">
+21 -21
View File
@@ -1415,13 +1415,13 @@ a.iframe {font-weight:bold}
#address #left_column {display:none} #address #left_column {display:none}
#address #center_column{width:757px} #address #center_column{width:757px}
form#add_adress {} form#add_address {}
#add_adress fieldset { #add_address fieldset {
margin:0; margin:0;
border:1px solid #ccc; border:1px solid #ccc;
background:#F8F8F8 background:#F8F8F8
} }
#add_adress h3 { #add_address h3 {
margin:0 0 15px 0; margin:0 0 15px 0;
padding:8px; padding:8px;
font-size:14px; font-size:14px;
@@ -1429,24 +1429,24 @@ form#add_adress {}
text-transform:uppercase; text-transform:uppercase;
background:url(../img/bg_form_h3.png) repeat-x 0 0 #989898 background:url(../img/bg_form_h3.png) repeat-x 0 0 #989898
} }
#center_column #add_adress p {margin:0; padding:0 0 10px 0} #center_column #add_address p {margin:0; padding:0 0 10px 0}
#add_adress p.required {color:#222} #add_address p.required {color:#222}
#add_adress p.required sup {color:#990000} #add_address p.required sup {color:#990000}
#add_adress p.text label, #add_address p.text label,
#add_adress p.password label, #add_address p.password label,
#add_adress p.select label, #add_address p.select label,
#add_adress p.select span, #add_address p.select span,
#add_adress p.textarea label { #add_address p.textarea label {
display:inline-block; display:inline-block;
padding:6px 15px; padding:6px 15px;
width:230px;/* 260 */ width:230px;/* 260 */
font-size:14px; font-size:14px;
text-align:right text-align:right
} }
#add_adress p.text input, #add_address p.text input,
#add_adress p.password input, #add_address p.password input,
#add_adress p.select input { #add_address p.select input {
padding:0 5px; padding:0 5px;
height:22px; height:22px;
width:360px;/* 370 */ width:360px;/* 370 */
@@ -1455,30 +1455,30 @@ form#add_adress {}
color:#666; color:#666;
line-height:22px line-height:22px
} }
#add_adress p.checkbox input { #add_address p.checkbox input {
margin-left:260px; margin-left:260px;
} }
#add_adress p.select select { #add_address p.select select {
margin-right:10px; margin-right:10px;
border:1px solid #ccc; border:1px solid #ccc;
font-size: 12px; font-size: 12px;
color:#666 color:#666
} }
#add_adress p.textarea label {vertical-align:top} #add_address p.textarea label {vertical-align:top}
#add_adress p.textarea textarea { #add_address p.textarea textarea {
height:80px; height:80px;
width:370px; width:370px;
border:1px solid #ccc; border:1px solid #ccc;
font-size: 12px; font-size: 12px;
color:#666 color:#666
} }
#center_column #add_adress p.submit2 { #center_column #add_address p.submit2 {
margin-top:20px; margin-top:20px;
text-align:right text-align:right
} }
#add_adress span.form_info, #add_address span.form_info,
#add_adress span.inline-infos { #add_address span.inline-infos {
display:block; display:block;
margin:5px 0 0 265px; margin:5px 0 0 265px;
color:#666 color:#666
+1 -1
View File
@@ -84,7 +84,7 @@ $(document).ready(function() {
{/if} {/if}
</p> </p>
<form action="{$link->getPageLink('address', true)}" method="post" id="add_adress"> <form action="{$link->getPageLink('address', true)}" method="post" id="add_address" data-ajax="false">
<legend><h3>{if isset($id_address) && $id_address != 0}{l s='Your address'}{else}{l s='New address'}{/if}</h3></legend> <legend><h3>{if isset($id_address) && $id_address != 0}{l s='Your address'}{else}{l s='New address'}{/if}</h3></legend>
<div class="required text dni"> <div class="required text dni">
<label for="dni">{l s='Identification number'}</label> <label for="dni">{l s='Identification number'}</label>