Widget not working in Staging area
Content
Hi,
Our customer portal is recentaly upgraded. We have customized a selection input widget by overriding its view. By using the click event, a function is called. This is working in the development area correctly without any issue.
After staging the same widget, the click event is not properly working in the staging area. That is we need to refresh the site multiple times then only the click event is working
Any one know why this is happening in the staging but not in development area?
Code Snippet
RightNow.namespace('Custom.Widgets.ResponsiveDesign.testchanneldisplay'); Custom.Widgets.ResponsiveDesign.testchanneldisplay = RightNow.Field.extend({ overrides: { constructor: function(){ console.log("control execution 1"); if (this.data.js.readOnly) return; this.data.attrs.required=false; /******************************* Primary[top level] category name and id code start, Self service form details*****************************************/ var FieldName = this.data.js.name; //console.log(FieldName); var url=String(window.location);
1