I have been working on this hack this morning, everything works fine if it is a single pm. When there is multiple pms I get a JS error I have narrowed it down to the following line of output
PHP Code:
input_box = confirm("You have 9 new private messages.\n Click OK to view your Inbox, or cancel to hide this prompt.
");
I am not a JS expert and cannot figure out what is making the "); go to a new line.
any suggestions?
Dave