LogOnDialog.js 853 B

123456789101112131415161718192021222324252627282930
  1. /*
  2. *+------------------------------------------------------------------------+
  3. *| Licensed Materials - Property of IBM
  4. *| IBM Cognos Products: Viewer
  5. *| (C) Copyright IBM Corp. 2001, 2011
  6. *|
  7. *| US Government Users Restricted Rights - Use, duplication or
  8. *| disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
  9. *|
  10. *+------------------------------------------------------------------------+
  11. */
  12. function LogOnDialog(oCV) {
  13. this.m_oCV = oCV;
  14. }
  15. LogOnDialog.prototype = new ILogOnDialog();
  16. LogOnDialog.prototype.handleUnknownHTMLResponse = function(responseText) {
  17. if (responseText) {
  18. // this is an HTML response, most likely a fault page.
  19. document.write(responseText);
  20. }
  21. };
  22. LogOnDialog.prototype.show = function(soapFault) {
  23. launchLogOnDialog(this.m_oCV.getId(), soapFault);
  24. };
  25. LogOnDialog.prototype.hide = function() {
  26. };