// new theme fix

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@10869 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
mMarinetti
2011-12-02 16:10:22 +00:00
parent fc7a452107
commit 810dab5d27
7 changed files with 23 additions and 11 deletions
@@ -27,13 +27,11 @@
{literal}
$('document').ready(function(){
$('#send_friend_button').fancybox({
'hideOnContentClick': false,
'onClosed': function(){
},
'hideOnContentClick': false
});
$('#sendEmail').click(function(){
console.log('aaa');
//console.log('aaa');
var datas = [];
$('#fancybox-content').find('input').each(function(index){
var o = {}
@@ -42,8 +40,8 @@ $('document').ready(function(){
if (o.value != '')
datas.push(o);
});
console.log(datas.length);
console.log(datas);
//console.log(datas.length);
//console.log(datas);
if (datas.length >= 3)
{
$.ajax({