actionpanecommon.js 784 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. // This forms the javascript functions used for the action panes of
  9. // PowerPlay Studio.
  10. // The functions handle any minor browser differences.
  11. function commonActionPaneInit() {
  12. }
  13. function InputKeypress(event)
  14. {
  15. var eventM = new eventManager(event);
  16. if ("13" == eventM.theEvent.keyCode) return false;
  17. }
  18. function disableButton(button) {
  19. button.style.display = "none";
  20. button.nextSibling.style.display = "block";
  21. }
  22. function enableButton(button) {
  23. button.style.display = "block";
  24. button.nextSibling.style.display = "none";
  25. }