Ticket #1115 (closed defect: fixed)
Dialogs not working on firefox 3(i know, i know, but ...)
| Reported by: | guest | Owned by: | gogo |
|---|---|---|---|
| Priority: | normal | Milestone: | Version 1.0 |
| Component: | Xinha Core | Version: | trunk |
| Severity: | major | Keywords: | |
| Cc: |
Description
not sure if it's intended behaviour in firefox or a bug but the latest nightlies fail
with "setting a property that has only a getter" in popups/popup.js line 57
window.dialogArguments = opener.Dialog._arguments;
when opening a popup window(insertlink/image)
clicking on "ok"/"cancel" gives a opener.Dialog._return is not a function errors
maybe this is just a bug in firefox(which you should probably file in bugzilla or risk your editor to suddenly stop working when firefox 3 is finally released),
BUT the whole parameter passing scheme you are using is very ... well ... weird.
it just feels unnatural first have to copy the parameters into the window namespace before being able to use them. also the submission of the new parameters feels less elegant compared to the tinyMCE or even the FCKeditor api(which i don't like very much otherwise)
maybe a new api could be added(while keeping the old one for backwards compatibility) ?
i wrote/am maintaining the switchable editor integration in eXponent cms and soon the my own rewrite eXp2 and Xinha with it's strange (plugin) init and the problems mentioned above gives me so much headaches that i recently started playing with the thought of dropping support.
please don't let that happen, afterall the editor's ui and functionality is valued by many users, just it's apis suck, but that seems fixable, correct ?
