X-Git-Url: https://dev.renevier.net/?p=syj.git;a=blobdiff_plain;f=public%2Fjs%2Flist.js;fp=public%2Fjs%2Flist.js;h=017eb299feabe2061432543531c05702f53903de;hp=fe0eb62aa86e7d9005a065f49f0f88b286076c19;hb=9ff9fe8e9026595f8304b1dc0f36e5dffba49c8b;hpb=7496f025917e5eb50d37bb531876ff7eb16fe453 diff --git a/public/js/list.js b/public/js/list.js index fe0eb62..017eb29 100644 --- a/public/js/list.js +++ b/public/js/list.js @@ -91,7 +91,7 @@ item.prototype = { } var id = this.elt.getAttribute('data-id'); - $("message").hide(); + $("message").clearMessages(); new Ajax.Request('path/' + id.toString() + '/delete', { method: 'post', onSuccess: this.deleteSuccess.bind(this),