1234567891011121314151617181920212223 |
- // Licensed Materials - Property of IBM
- //
- // IBM Cognos Products: cogadmin
- //
- // (C) Copyright IBM Corp. 2011
- //
- // US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
- //
- //
- dojo.provide("com.ibm.cognos.admin.utils.misc");
- dojo.mixin(com.ibm.cognos.admin.utils.misc,{
- displayToggle: function(id){
- var targetElement = dojo.byId(id);
- if (targetElement){
- if (dojo.style(targetElement, "display") == "none"){
- dojo.style(targetElement, "display","");
- } else {
- dojo.style(targetElement, "display","none");
- }
- }
- }
- });
|