This discussion is archived
1 Reply Latest reply: Jul 3, 2009 9:12 AM by 803774 RSS

Convergence - IE error when folder sharing tab is hidden

803774 Newbie
Currently Being Moderated
I was able to write the following JS modification (c11n/allDomain/js/widget/MailFolderPropertiesDialog.js) to hide the Sharing tab in
the folder properties window.
dojo.provide("c11n.allDomain.js.widget.MailFolderPropertiesDialog");
dojo.require("iwc.widget.MailFolderPropertiesDialog");
dojo.declare("iwc.widget.MailFolderPropertiesDialog", iwc.widget.MailFolderPropertiesDialog, {
   buildRendering: function() {
            this.inherited(arguments);
            this.containerNode.domNode.childNodes[1].childNodes[1].childNodes[1].style.display = "none";
   },
   last: ""
});
The tab is successfully hidden in FireFox, Chrome and Safari. However, in IE8 the folder properties window will no longer display and it throws a non-descriptive javascript error:
Object doesn't support this property or method  dojo.js?9.01_190646, line 20 character 14572
Any ideas what I am doing wrong?