E1 Tips The Tips & Tricks of a CNC Administrator on Oracle JDEdwards EnterpriseOne

EnterpriseOne Javascript Error Causing Errors In Internet Explorer

02.02.2009 · Posted in Uncategorized

We recently went live with Employee Self-Service.  In doing so, we no longer send employees their direct deposit pay stub.  Over the last few days we were notified that some employees were unable to view the paycheck details. 

We began troubleshooting the issue with looking at the usually culprits:

However, nothing seemed suspect.

So, I put on the Web Developer Hat (don’t tell Charlie) and started troubleshooting.  I found that there was a Javascript error in Internet Explorer.  I tracked down the offending file an commented out the code.

The Javascript file that I changed was /js/JDEDTA.js.

The specific line that was causing the problem was line 344.  I commented out the whole thing because who needs “typeahead” functionality in Employee Self-Service?

340:    this.saveAutoCompleteData = function(){

341:        //Hack to make typeahead work in IE

342:        /*if(document.all){

343:            var formToPost = document.forms[this.formName];

344:                  window.external.AutoCompleteSaveForm(formToPost);

345:        }else if (!this.isSafari){

346:            var formToPost = document.forms[this.formName];

347:              if (formToPost)

348:              {

349:                  var action = formToPost.action;

350:                  formToPost.action = "javascript:void(0)";

351:                  formToPost.submit();

352:                  formToPost.action = action;

353:              }

354:        }*/

355:    }
pf button EnterpriseOne Javascript Error Causing Errors In Internet Explorer
evernote EnterpriseOne Javascript Error Causing Errors In Internet Explorerdigg EnterpriseOne Javascript Error Causing Errors In Internet Explorershare save 171 16 EnterpriseOne Javascript Error Causing Errors In Internet Explorer

One Response to “EnterpriseOne Javascript Error Causing Errors In Internet Explorer”

  1. Dave Nieberding says:

    Try changing line 344 to include the correct variable – formToPost is the name of the form and it not the form itself. Try using
    window.external.AutoCompleteSaveFrom(this);

Leave a Reply