NaN bug inside support widget header.

  • 2 May 2014
  • 1 reply
  • 23 views

I have embedded the FreshDesk popup widget in my app. We specify the popup's header to be "Support Ticket", but when it appears, it says "Support TicketNaN". (screenshot attached).


 The code we use looks something like this (I've only included the javascript part):  

FreshWidget.init("",{"queryString": "&widgetType=popup&formTitle=Support+Ticket&submitThanks=Thanks&searchArea=no",
"widgetType": "popup",
"formTitle": "Support Ticket",
"buttonType": "text",
"buttonText": "Support",
"buttonColor": "white",
"buttonBg": "#14CDEB",
"alignment": "4",
"offset": "650px",
"submitThanks": "Thanks for submitting this support ticket, we will look into it as soon as we can",
"formHeight": "550px",
"url": "http://oururl.freshdesk.com"});

   


Somewhere a javascript error is occurring when it tries to calculate a number.

This NaN looks crappy. How can I hide it?


screen_shot_2014-05-02_at_11.40.21_am_14762.png

This topic has been closed for comments

1 reply

Userlevel 4
Badge +8

Jeremiah, 


Thank you for reaching out to us over here. 


Can you please pass me the URL where you have posted your widget so that I can check further on this? 


Anna