|
<< Click to Display Table of Contents >> Navigation: Forum > java script errors |
08-30-2020, 02:04 AM:
Environment. Iw15.2.15, cgdevtools. 4.1.0.257
I have upgraded to iw15.2.15 and the access violations have disappeared; however, I am still having some issues with the pages locking up because of Javascript errors. I tried setting RednderAsyncEnabled := False, but that did not make any difference.
Here are the errors
1.
(index):102 Uncaught TypeError: Cannot read property 'selection' of undefined
at HTMLDocument.<anonymous> ((index):102)
at i (IWLib__1837908247.js:2)
at Object.fireWith [as resolveWith] (IWLib__1837908247.js:2)
at Function.ready (IWLib__1837908247.js:2)
at HTMLDocument.K (IWLib__1837908247.js:2)
2.
IWBase__870463085.js:2 Error in SendRequest(): Cannot read property 'cloneNode' of undefined
consoleError @ IWBase__870463085.js:2
SendRequest @ IWBase__870463085.js:6
executeAjaxEvent @ IWBase__870463085.js:6
(anonymous) @ (index):59
dispatch @ IWLib__1837908247.js:3
r.handle @ IWLib__1837908247.js:3
The 2nd error "the send request error" is triggered when I click the cgdevtools button.
(08-30-2020, 02:04 AM)joel Wrote: [ -> ]Environment. Iw15.2.15, cgdevtools. 4.1.0.257
I have upgraded to iw15.2.15 and the access violations have disappeared; however, I am still having some issues with the pages locking up because of Javascript errors. I tried setting RednderAsyncEnabled := False, but that did not make any difference.
Here are the errors
1.
(index):102 Uncaught TypeError: Cannot read property 'selection' of undefined
at HTMLDocument.<anonymous> ((index):102)
at i (IWLib__1837908247.js:2)
at Object.fireWith [as resolveWith] (IWLib__1837908247.js:2)
at Function.ready (IWLib__1837908247.js:2)
at HTMLDocument.K (IWLib__1837908247.js:2)
2.
IWBase__870463085.js:2 Error in SendRequest(): Cannot read property 'cloneNode' of undefined
consoleError @ IWBase__870463085.js:2
SendRequest @ IWBase__870463085.js:6
executeAjaxEvent @ IWBase__870463085.js:6
(anonymous) @ (index):59
dispatch @ IWLib__1837908247.js:3
r.handle @ IWLib__1837908247.js:3
The 2nd error "the send request error" is triggered when I click the cgdevtools button.
I did change out the button to just an IWButton and when I tried that I get the following error.
IWBase__870463085.js:2 Error in SendRequest(): Cannot read property 'cloneNode' of undefined
consoleError @ IWBase__870463085.js:2
SendRequest @ IWBase__870463085.js:6
(anonymous) @ IWBase__870463085.js:6
setTimeout (async)
executeAjaxEvent @ IWBase__870463085.js:6
processAjaxEvent @ IWBase__870463085.js:6
IWCL_DoOnClick @ IWBase__870463085.js:5
IWEventHandler @ IWBase__870463085.js:4
09-02-2020, 03:16 PM:
I am working on putting a demo together so that I can get past this java script error.
Alex,
Can I send the demo to your email for you to look at?
09-03-2020, 10:56 PM:
I finally was able to resolve these java script issues. It turned out to be a miss place div that was being generated through a template processor. I reworked my code and it is working now.
09-04-2020, 05:17 PM:
Thanks for the follow up.