fix few routes and basic errors

This commit is contained in:
osaajani 2019-11-09 03:35:12 +01:00
parent adb739775f
commit bb8a114485
29 changed files with 142 additions and 181 deletions

View file

@ -26,7 +26,7 @@ function showMessage(message, type)
function verifReceived()
{
jQuery('.popup-alert').fadeOut('slow');
jQuery.getJSON(HTTP_PWD + "/receiveds/popup", function( data ) {
jQuery.getJSON(HTTP_PWD + "/received/popup", function( data ) {
$.each(data, function(key, val) {
showMessage('SMS reçu du ' + val.send_by.replace(/</g, "&lt;").replace(/>/g, "&gt;") + ' : ' + val.content.replace(/</g, "&lt;").replace(/>/g, "&gt;"), 1);
playReceptionSound();