D_ppesAdminProgress_async.js 828 B

123456789101112131415161718192021222324252627282930
  1. // Licensed Materials - Property of IBM
  2. //
  3. // IBM Cognos Products: pps
  4. //
  5. // (C) Copyright IBM Corp. 2005, 2017
  6. //
  7. // US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
  8. /**
  9. * @private
  10. */
  11. D_ppesAdminProgress.F_Dialog_OnInit = function()
  12. {
  13. /**
  14. * @private
  15. */
  16. this.F_GetDlgItem("iProgressImg").src = G_HAL.M_sPath + 'hal/images/progress.gif';
  17. };
  18. /**
  19. * Set up that is required before the dialog becomes visible
  20. * @type void
  21. */
  22. D_ppesAdminProgress.F_Dialog_OnBeforeVisible = function()
  23. {
  24. var txtContainer = this.F_GetDlgItem("iProgressTxt");
  25. while (txtContainer.childNodes.length)
  26. txtContainer.removeChild(txtContainer.childNodes[txtContainer.childNodes.length - 1]);
  27. txtContainer.appendChild(document.createTextNode(this.m_sMessage));
  28. }