remote_collection.js revision c1c9b51cf3a275c9631b6de90e71b833bf97ded9
$.widget("ui.remoteCollection", {
options: {
collectionTag: 'ol',
elementTag: 'li',
success: function(){}
},
_create: function() {
// Element created successfully
var newElement = $(data);
// relatize timestamps, if function is available
if($.fn.relatizeTimestamps)
});
// Element NOT created, render the returned form
});
// Element deleted
// find the whole element
var e = $(this).parent();
e = e.parent();
}
e.fadeOut(function(){
e.remove();
})
})
}
});