mirror of
https://github.com/prasathmani/tinyfilemanager
synced 2024-05-03 06:13:41 +02:00
Update tinyfilemanager.php
Added text translation
This commit is contained in:
parent
f30719d948
commit
f2f2f4a330
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue