[-] MO : sendtofriend FixBug Form error
This commit is contained in:
Regular → Executable
+4
-2
@@ -32,13 +32,15 @@ $('document').ready(function(){
|
|||||||
|
|
||||||
$('#sendEmail').click(function(){
|
$('#sendEmail').click(function(){
|
||||||
var datas = [];
|
var datas = [];
|
||||||
$('#fancybox-content').find('input').each(function(index){
|
$('#send_friend_form_content').find(':input').each(function(index){
|
||||||
var o = {};
|
var o = {};
|
||||||
o.key = $(this).attr('name');
|
o.key = $(this).attr('name');
|
||||||
o.value = $(this).val();
|
o.value = $(this).val();
|
||||||
|
|
||||||
if (o.value != '')
|
if (o.value != '')
|
||||||
datas.push(o);
|
datas.push(o);
|
||||||
});
|
});
|
||||||
|
|
||||||
if (datas.length >= 3)
|
if (datas.length >= 3)
|
||||||
{
|
{
|
||||||
$.ajax({
|
$.ajax({
|
||||||
@@ -73,7 +75,7 @@ $('document').ready(function(){
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="send_friend_form_content">
|
<div class="send_friend_form_content" id="send_friend_form_content">
|
||||||
<div id="send_friend_form_error"></div>
|
<div id="send_friend_form_error"></div>
|
||||||
<div class="form_container">
|
<div class="form_container">
|
||||||
<p class="intro_form">{l s='Recipient' mod='sendtoafriend'} :</p>
|
<p class="intro_form">{l s='Recipient' mod='sendtoafriend'} :</p>
|
||||||
|
|||||||
Reference in New Issue
Block a user