constants.js 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. /********************************************************************************************************************************
  2. * Licensed Materials - Property of IBM *
  3. * *
  4. * IBM Cognos Products: AGS *
  5. * *
  6. * (C) Copyright IBM Corp. 2005, 2010 *
  7. * *
  8. * US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp. *
  9. *********************************************************************************************************************************/
  10. /*
  11. * This JS file contains useful global constants used by Event Studio
  12. */
  13. //the ids of the task list items in the 'I want to..' menu
  14. var K_sCondition='condition';
  15. var K_sSchedule='schedule';
  16. var K_sAddAgentTask='addAgentTaskButton';
  17. var K_sSuppression='suppression';
  18. var K_sSetSubmit='set_submit';
  19. //styles for the task list items
  20. var K_cssTaskInactive='task_inactive';
  21. var K_cssTaskActive='task_active';
  22. var K_logon='logon';
  23. //deletion candidate types
  24. var K_sFunctionCandidate = 'FUNCTION';
  25. var K_sControlCandidate = 'CONTROL';
  26. //the id of the selection object, used to hold details of the current text selection
  27. var K_sSelectionId='curr_selection';
  28. //the previous function definition
  29. var K_sPreviousFunctionText='previous(';
  30. var K_sCaptionFunctionText='caption(';
  31. //input control ids used in the condition page
  32. var K_sDataItemExpression='dataItem_expression';
  33. var K_sDataItemName='dataItem_name';
  34. var K_sDetailExpression='detailExpression';
  35. //key code definitions
  36. var K_sKeyCode_A='65';
  37. var K_sKeyCode_K='75';
  38. var K_sKeyCode_C='67';
  39. var K_sKeyCode_V='86';
  40. var K_sKeyCode_X='88';
  41. var K_sKeyCode_Ctrl='17';
  42. //This is used by prompting.js to stop the f_CSW_setFWR(); from being called.
  43. //Calling this function was causing an infitie loop because CCgonosViewer will
  44. //never be loaded for ES.
  45. var SYSTEMPROPERTY_CREATE_CUSTOM_SCRIPTS_REFS = false;