All,
I use jgrowl to display certain content ,and i had got this weird error today
$(this).data("jGrowl") is undefined in jquery.jgrowl_compressed.js file in line 59
which points me to the followong line,
$(this).data("jGrowl").created=new Date();
And in my project js file i have the following code
if (data)
{
$('.jGrowl-notification:contains("' + oldtext + '")').remove();
$.jGrowl.defaults.poll = 1;
$.jGrowl(data, { animateOpen: { height: 'show'}, glue : 'after' , position : 'bottom-right'});
oldtext=data;
clean();
}
function clean()
{
$('.jGrowl-notification:contains("' + oldtext + '")').remove();
}
I get the error when i try to open the menu and before it opens i open it again..
Any idea what might be wrong.
Thanks.