ConfirmationDialog.js 885 B

1234567891011121314151617181920212223242526
  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. dojo.provide("bux.dialogs.ConfirmationDialog");
  13. viewer.dialogs.ConfirmationDialog = function (_title,_sMainMessage, _sDescription, sInfoIconClass, callerObject, _yesHandlerOfCallerObject) {
  14. dojo["require"]("bux.dialogs.InformationDialog"); //@lazyload
  15. var ConfirmDialog = new bux.dialogs.Confirm(
  16. _title,
  17. _sMainMessage,
  18. _sDescription,
  19. dojo.hitch(callerObject, _yesHandlerOfCallerObject, callerObject ),
  20. sInfoIconClass
  21. );
  22. return ConfirmDialog;
  23. };