public/javascripts/lolita/menu-items.js in lolita-menu-0.0.8 vs public/javascripts/lolita/menu-items.js in lolita-menu-0.0.9
- old
+ new
@@ -55,10 +55,10 @@
$(this).append(html_data)
}
})
})
- $(".delete-menu-item").click(function(){
+ $(".delete-menu-item").live("click",function(){
var self = this;
$.ajax({
url:$(this).attr("data-url"),
type:"delete",
dataType: "json",
\ No newline at end of file