Thread: Main Toolbar
View Single Post
  #12 (permalink)  
Old 02-11-2009, 04:47 PM
rrao rrao is offline
Zimbra Employee
 
Posts: 187
Default

These two are supposed to two different buttons so if you are using the same id, it might cause problem..
for example:
com_zimbra_discover.discover in the code is the id for that button, try using two different ids depending on the view..something like com_zimbra_discover.discoverConv and com_zimbra_discover.discoverTrad

Code:
		var btn = this._toolbar.createOp(
			com_zimbra_discover.discover,
		{
			text	: ZmMsg.discoverlabel,
			tooltip : ZmMsg.discovertip,
			index   :indx,
			image   : "dy-panelIcon"
		}
			);
__________________
Bugzilla - Wiki - Downloads - Before posting... Search!
Reply With Quote