// Removing "console.log()"
This commit is contained in:
@@ -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();
|
||||
});
|
||||
</script>
|
||||
<table cellspacing="0" cellpadding="0" class="table" style="width:600px">
|
||||
|
||||
@@ -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({
|
||||
|
||||
Reference in New Issue
Block a user