Notifiche - Tutti - non letti
This commit is contained in:
@@ -576,6 +576,7 @@ module.exports = {
|
||||
'sender',
|
||||
'dest',
|
||||
'descr',
|
||||
'link',
|
||||
'datenotif',
|
||||
'read',
|
||||
'deleted',
|
||||
@@ -2934,4 +2935,22 @@ module.exports = {
|
||||
return mystr;
|
||||
},
|
||||
|
||||
updateQueryStringParameter(uri, key, value) {
|
||||
var re = new RegExp("([?&])" + key + "=.*?(&|$)", "i");
|
||||
var separator = uri.indexOf('?') !== -1 ? "&" : "?";
|
||||
if (uri.match(re)) {
|
||||
return uri.replace(re, '$1' + key + "=" + value + '$2');
|
||||
} else {
|
||||
return uri + separator + key + "=" + value;
|
||||
}
|
||||
},
|
||||
|
||||
isArray(val) {
|
||||
return Array.isArray(val)
|
||||
},
|
||||
|
||||
getContentByTypeMsg (typemsg) {
|
||||
|
||||
},
|
||||
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user