Poniżej kod daje Zbyt dużo błędów rekurencji w jQuery okna dialogowego uijQuery UI dialogowe zbyt wiele problemów rekursji
$("#dialog-confirm").dialog({
resizable: false,
height:140,
modal: true,
buttons: {
"Delete all items": function() {
$(this).dialog("close");
},
Cancel: function() {
$(this).dialog("close");
}
},
close:function(){
$(this).dialog("close");
}
});
Jak rozwiązać ten problem?