RepromptRunAction.js 856 B

12345678910111213141516171819202122232425262728
  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 RepromptRunAction(){}
  13. RepromptRunAction.prototype = new RunReportAction();
  14. RepromptRunAction.prototype.reuseQuery =function() { return false; };
  15. RepromptRunAction.prototype.reuseGetParameter =function() { return false; };
  16. RepromptRunAction.prototype.preProcess =function()
  17. {
  18. var cv = this.getCognosViewer();
  19. cv.m_raiseSharePromptEvent = true;
  20. };
  21. RepromptRunAction.prototype.getPromptOption = function() { return "true"; };