NetTalk Central

Author Topic: Javascript error with simple NT 8.07 REport print.  (Read 4050 times)

rjolda

  • Sr. Member
  • ****
  • Posts: 329
    • View Profile
    • Email
Javascript error with simple NT 8.07 REport print.
« on: February 22, 2017, 11:52:14 AM »
Hi,
I get a rotating rosie with an ERROR IN SITE JAVASCRIPT and no PDF.   Using C8 EE PDF reporting.  Was working and now getting this Javascript error.  Trying to figure out what to do to get it working again.  It is set to FALSE on No Javascript Check.  Image attached.
What did I break and how do I fix it?
TIA,
Ron Jolda

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: Javascript error with simple NT 8.07 REport print.
« Reply #1 on: February 22, 2017, 11:13:50 PM »
Looks more like missing theme or CSS files.

But check the firebug console to see if there are any errors.

cheers
Bruce


rjolda

  • Sr. Member
  • ****
  • Posts: 329
    • View Profile
    • Email
Re: Javascript error with simple NT 8.07 REport print.
« Reply #2 on: February 23, 2017, 03:19:38 AM »
HI,
From Firebug:            ReferenceError: $ is not defined[Learn More]  Report_FELIST:243:1
The character encoding of the HTML document was not declared. The document will render with garbled text in some browser configurations if the document contains characters from outside the US-ASCII range. The character encoding of the page must be declared in the document or in the transfer protocol.


This is the HTML for the report:   at line 243:   ==>        $(document).ready( function(){$("#browsea_felist_div").ntbrowse({animateSpeed:500,cancelText:"No",closeAction:"BrowseB_Batch",confirmDelete:1,confirmDeleteMessage:"Are you sure you want to delete this record?",confirmText:"Confirm",deleteText:"Delete",form:"",formChange:"UpdateA_FELIST",formCopy:"",formDelete:"",formInsert:"UpdateA_FELIST",formpopup:1,formView:"",id:"browsea_felist",lookupField:"",parent:"",parentrid:"",popup:0,procedure:"browsea_felist",randomid:158217,rowsHigh:1,selectAction:"",title:"A_ FELIST",value:"yG7oLvhs"});


Seems to be complaining about:  $(document).ready( function()

Where do I go to fix this in NT?

TIA,
Ron Jolda

rjolda

  • Sr. Member
  • ****
  • Posts: 329
    • View Profile
    • Email
Re: Javascript error with simple NT 8.07 REport print.
« Reply #3 on: February 23, 2017, 03:25:46 AM »
HI All,
SOLVED!!!!
Found the problem = it was my filter for the report. 
Reconfigured the filter and it works!
Ron Jolda