Code: Select all
{PRIVATE_MESSAGE_COUNT}
Code: Select all
<script type="text/javascript">
document.addEventListener('DOMContentLoaded', function () {
$(document).on("click", "a", function() {...
The problem is that in case of a new PM view event, the PM count passed is the previous and not the updated, so i guess someone can help me to understand how to resolve this problem?
How i can grab the updated PM count value?
I've also reproduce the thing on external page, that use sql to get this data, but as this would be more easy and compact code, i really guess there is a solution for the above.
Thank you!