On the submit task page, When you browse directories and files, click OK after the selection is complete. In this case, the JS Code:
Window. opener. submitjobform. xxxxxx = .......
Including in submitjob. jsp, after opening the popup window with window. Open, the opener attribute of the new window will also be assigned.
The class doesn' t support automation error will occur in both places, indicating that the opener attribute indicates that the object does not support automation. Therefore, JS Code becomes invalid, which is still very troublesome, the directory and file cannot be selected for the submitted task.
After searching for half a day, I found the solution:
Regsvr32 msscript. ocx
Regsvr32 dispex. dll
Regsvr32 VBScript. dll
Reference: http://www.annoyances.org/exec/forum/winxp/n1022048238
Register the three items and restart IE.