index(es)

This commit is contained in:
gauthiier
2020-01-21 11:38:31 +01:00
parent cabfe50777
commit afc71795d1
26 changed files with 151318 additions and 13 deletions
+10
View File
@@ -0,0 +1,10 @@
$(document).ready(function(){
$('.add, .delete').click(function(e) {
var li = $(this).parent("li");
$.post('/index/' + li.data("file"), {'action': $(this).attr('class'), 'kw': li.data("kw"), 'list': li.data("list")}, function(d) {
if(d === 'ok') {
location.reload();
}
});
});
});