4 Replies Latest reply on Apr 17, 2012 10:03 PM by George_Johnson

    correct use of app.trustedFunction ?

    aenigmabella Level 1



      I have a function1 which launch a diaglog when a user clicks on the button. Function1 is in the folder script.  For the click event, I have: script1.function1();

      However, the dialog box has the title "JavaScript Window" and the warning "Warning: JavaScript Window".


      I searched and follow the suggestion in the forum.  I created a app.trusted fuction as below:




      vDialog = app.trustedFunction(function() {






      In the click event, I have:



      However, this doesn't work.  Could someone points out for me where the mistake is?  Also, is there a way to change the windown title, instead of "JavaScript Window", it says "Help Information"?

      Thank you.