Debug de la reserve link
This commit is contained in:
@@ -5,7 +5,6 @@ $(document).ready(function(){
|
||||
|
||||
// Apparition de la reserve de liens
|
||||
$('#links-menu').live('click', function(){
|
||||
//$('#reserve').show();
|
||||
$.get('ajax/loadReserve.php', function(html){
|
||||
$.fancybox(
|
||||
html,
|
||||
@@ -24,7 +23,7 @@ $(document).ready(function(){
|
||||
$('#reserveiconlist .item').live('click', function(e){
|
||||
e.preventDefault();
|
||||
$.post("ajax/reserveToList.php", {reserve: $(this).attr('id')});
|
||||
$('.iconlist').last().append($(this).parent().html());
|
||||
$('.iconlist').last().append('<li class="item" id="'+$(this).attr('id')+'">'+$(this).html()+'</li>');
|
||||
$.fancybox.close();
|
||||
});
|
||||
|
||||
@@ -41,12 +40,10 @@ $(document).ready(function(){
|
||||
$.post("ajax/listToReserve.php", {reserve: $(this).parent().attr('id')});
|
||||
$(this).parent().fadeOut();
|
||||
});
|
||||
// ??
|
||||
|
||||
// Mouvement des liens avec enregistrement
|
||||
$(".iconlist").sortable(
|
||||
{
|
||||
//distance: 45,
|
||||
connectWith: '.iconlist',
|
||||
update: function(event,ui){
|
||||
var linkOrder = $(this).sortable('toArray').toString();
|
||||
@@ -57,10 +54,6 @@ $(document).ready(function(){
|
||||
start: function(e) {
|
||||
// have to remvoe click handler off item so drop doesn't click
|
||||
$("a.popup").unbind("click");
|
||||
},
|
||||
stop: function(e) {
|
||||
//$("a.popup").bind("click", function(e){ itemClickHandler(e, $(this)); });
|
||||
//$("a.popup").click(itemClickHandler);
|
||||
}
|
||||
}
|
||||
).disableSelection().mouseout(function(){
|
||||
|
Reference in New Issue
Block a user