We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aabb43b commit 6ebaae9Copy full SHA for 6ebaae9
app/templates/admin-cms/partials/script/menu-scripts.twig
@@ -71,7 +71,7 @@
71
data: { id: $('#data-id').val()},//$("#removeData").val($(event.relatedTarget).data('id')),
72
success: function (data) {
73
$('#removeData').modal('hide')
74
- toastr.warning('Registro removido com sucesso.').success(
+ toastr.warning('Registro removido com sucesso.').onsuccess(
75
setTimeout(function(){
76
location.reload();
77
}, 5000)
@@ -119,7 +119,7 @@
119
120
case "btnUpdateMenu":
121
$('#data-id').val($(this).data("id"));
122
- $('#txtMenuEdit').val($(this).data("id"));
+ $('#removeData').modal('show');
123
break;
124
125
0 commit comments