[opencms-dev] (no subject)

simone.bortolaso at libero.it simone.bortolaso at libero.it
Wed Jan 12 17:35:14 CET 2005


Hi all, 
i do a  copy of 

function DECMD_PASTE_onclick()
{
  EDITOR.EDIT_HTML.ExecCommand(DECMD_PASTE,OLECMDEXECOPT_DODEFAULT);
  EDITOR.EDIT_HTML.focus();
}

function MY_DECMD_PASTE_onclick()
{
  EDITOR.EDIT_HTML.ExecCommand(MY_DECMD_PASTE,OLECMDEXECOPT_DODEFAULT);
  EDITOR.EDIT_HTML.focus();
}

Where MY_DECMD_PASTE = 5999; and DECMD_PASTE="5032";


in file opencms_edithtml.js for implement a new function of tool bar but the new method
doesn't work. If i open in page WSY... Editor the page arise a javascript error.
" EDITOR.EDIT_HTML.ExecCommand(MY_DECMD_PASTE,OLECMDEXECOPT_DODEFAULT);"
not suppoorted...... why....

what do i missunderstanding?

Thank Simone

 





____________________________________________________________
Libero ADSL: 3 mesi gratis e navighi a 1.2 Mega. E poi hai l'Adsl senza limiti a meno di 1 euro al giorno. 
Abbonati subito senza costi di attivazione su http://www.libero.it






More information about the opencms-dev mailing list