You are not logged in.
Pages: 1
To start getting up to speed on DOM javascript, I was investigating the ContextMenu image bug. I'm thinking it's probably a relative path issue (as I mention in the bug report).
When running inside a plugin, what's the current working directory?
Is it the directory containing htmlarea.js or is it the directory containing the plugin javascript code?
The paths used in context-menu.js are "../images/ed_buttons...".
-----------------------------------------------------------------------------------------
Content Management with Business Intelligence [url]http://www.formvista.com[/url]
Offline
To start getting up to speed on DOM javascript, I was investigating the ContextMenu image bug. I'm thinking it's probably a relative path issue (as I mention in the bug report).
When running inside a plugin, what's the current working directory?
Is it the directory containing htmlarea.js or is it the directory containing the plugin javascript code?
The paths used in context-menu.js are "../images/ed_buttons...".
Hmm. It would be the htmlarea.js directory (_editor_url)
James Sleeman
Offline
Pages: 1