Update tinyfilemanager.php

Added text translation
This commit is contained in:
zedzhen 2024-04-14 09:27:43 +03:00 committed by GitHub
parent f30719d948
commit f2f2f4a330
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -4029,8 +4029,8 @@ $isStickyNavBar = $sticky_navbar ? 'navbar-fixed' : 'navbar-normal';
url: window.location,
data: JSON.stringify(data),
contentType: "application/json; charset=utf-8",
success: function(mes){toast("Saved Successfully"); window.onbeforeunload = function() {return}},
failure: function(mes) {toast("Error: try again");},
success: function(mes){toast("<?php echo lng("Saved Successfully"); ?>"); window.onbeforeunload = function() {return}},
failure: function(mes) {toast("<?php echo lng("Error: try again"); ?>");},
error: function(mes) {toast(`<p style="background-color:red">${mes.responseText}</p>`);}
});
} else {