by EZboy » Fri Mar 02, 2007 7:12 pm
OK, i looked it to that,
there is an error adding contextmenu item:
it should be
menuModel2.addItem(1,'Save','images/disk.gif','',false,'','saveItem');
instead of
menuModel.addItem(1,'Save','../images/disk.gif','',false,'saveItem');
The second thing is there is a problem in js code approx. here:
if(this.menuItems[no].jsFunction){
this.menuItems[no].url = this.menuItems[no].jsFunction + '(this,referenceToDHTMLSuiteContextMenu.srcElement)';
}
It looks like "this.menuItems[ ].url" takes value of last added item for al the items:?