PrimeFaces 5.0 javascript error - b.debug ("PrimeFaces is already loading

I have the following error.

Here's the js source code:

(function(a){if(a.PrimeFaces){b.debug("PrimeFaces already loaded, ignoring duplicate execution.");return}var b={escapeClientId:function(c){return"#"+c.replace(/:/g,"\\:")}...

      

And error: undefined is null or not is an object

The error relates to the debug function of the variable "b".

Can anyone help me?

+3


source to share


1 answer


This is a perforation issue, I submitted a pull request: https://github.com/primefaces/primefaces/pull/143

Until it is fixed, you can fix your primefaces.js file like this:



function(a){if(a.PrimeFaces){a.PrimeFaces.debug("PrimeFaces already loaded, ignoring duplicate execution.");return}

      

0


source







All Articles