Hi + Thanks in advance for any insights.
This might be out of the scope of this forum as it deals with FCK implemented through the symfony framework, but I appreciate your time.
I am having a problem using FCK 2.5.1 in Safari 3.0.4.
It works great in Firefox on both platforms as well as IE 6 + 7.
I am using FCK as the default editor for Rich Text Slots in Symfony, using the Prototype library.
I followed the implementation instructions here:
http://trac.symfony-project.com/wiki/HowToUseFCKeditor
And incorporated the following patch found here:
http://trac.symfony-project.com/ticket/2187
It behaves exactly as I would expect it to in Firefox.
Safari 3.0.4 is not listening to the ajax calls in the fck.js patch.
It does not stop the submit and dumps me out to a new page with the
submitted text.
Again, this seems to work great in Firefox
I am having a difficult time isolating what could be wrong to debug for Safari 3.0.4.
The specific problem lies here:
var ajax_code = $(formId).readAttribute('onsubmit');
the above returns the inline values for the 'onsubmit' attribute where <formId> is the unique id of the fck form.
Safari 3.0.4 returns that 'formId' is not an object and therefore cannot read the onsubmit attribute.
If i hard code an ID instead of using the variable formId, it can read the attribute for that specific form but it still fails to stop the submission for the ajax call, dumping me out to an empty page w/ the text submitted via the form.
Anyone else encounter these issues?
Sorry this post seems all over the place.
Thanks again for your help
Fri, 02/01/2008 - 18:28
#1