Implement DN Entry rename

This commit is contained in:
2025-07-02 23:43:21 +08:00
parent 339ba7258a
commit f1316d698d
7 changed files with 95 additions and 8 deletions

View File

@@ -281,6 +281,25 @@
})
break;
case 'entry-rename':
$.ajax({
method: 'GET',
url: '{{ url('modal/rename') }}/'+dn,
dataType: 'html',
cache: false,
beforeSend: function() {
that.empty().append('<span class="p-3"><i class="fas fa-3x fa-spinner fa-pulse"></i></span>');
},
success: function(data) {
that.empty().html(data);
},
error: function(e) {
if (e.status !== 412)
alert('That didnt work? Please try again....');
},
});
break;
default:
switch ($(item.relatedTarget).attr('name')) {
case 'entry-userpassword-check':