From b0db255ffd9bc324d600472784360692af3eca16 Mon Sep 17 00:00:00 2001 From: mDeflotte Date: Fri, 3 Feb 2012 08:25:04 +0000 Subject: [PATCH] // Removing "console.log()" --- .../default/template/controllers/groups/form.tpl | 15 +++++++-------- modules/sendtoafriend/sendtoafriend-extra.tpl | 3 --- 2 files changed, 7 insertions(+), 11 deletions(-) diff --git a/admin-dev/themes/default/template/controllers/groups/form.tpl b/admin-dev/themes/default/template/controllers/groups/form.tpl index 05f022ba8..7d23b0f89 100644 --- a/admin-dev/themes/default/template/controllers/groups/form.tpl +++ b/admin-dev/themes/default/template/controllers/groups/form.tpl @@ -202,15 +202,14 @@ $(document).ready(function() { $( "#sortable_module_authorize_list, #sortable_module_unauthorize_list" ).sortable({ connectWith: ".connectedSortable", - stop: function(event, ui) + stop: function(event, ui) { - console.log($(event.toElement).parent('ul').attr('id')); - if ($(event.toElement).parent('ul').attr('id') == 'sortable_module_authorize_list') - $(event.toElement).children('input["type=hidden"]').attr('name', 'modulesBoxAuth[]'); - else - $(event.toElement).children('input["type=hidden"]').attr('name', 'modulesBoxUnauth[]'); - } - }).disableSelection(); + if ($(event.toElement).parent('ul').attr('id') == 'sortable_module_authorize_list') + $(event.toElement).children('input["type=hidden"]').attr('name', 'modulesBoxAuth[]'); + else + $(event.toElement).children('input["type=hidden"]').attr('name', 'modulesBoxUnauth[]'); + } + }).disableSelection(); }); diff --git a/modules/sendtoafriend/sendtoafriend-extra.tpl b/modules/sendtoafriend/sendtoafriend-extra.tpl index 9ec51391a..9f612ed6f 100644 --- a/modules/sendtoafriend/sendtoafriend-extra.tpl +++ b/modules/sendtoafriend/sendtoafriend-extra.tpl @@ -31,7 +31,6 @@ $('document').ready(function(){ }); $('#sendEmail').click(function(){ - //console.log('aaa'); var datas = []; $('#fancybox-content').find('input').each(function(index){ var o = {} @@ -40,8 +39,6 @@ $('document').ready(function(){ if (o.value != '') datas.push(o); }); - //console.log(datas.length); - //console.log(datas); if (datas.length >= 3) { $.ajax({