Incorrect URL when uploading files in FCKEditor

A place to discuss the testing process in beta cycles or against SVN for the CMS Made Simple CORE package.
Locked
tamlyn

Incorrect URL when uploading files in FCKEditor

Post by tamlyn »

As mentioned in this thread there's a problem when uploading files using fckeditor. I don't know if the bug is in fck or cms (v0.12) but here it is:

I click the link button, click the upload tab, upload a file, it says 'upload ok' and takes me back to the link tab of the link popup at which point the link url box has been automatically filled out with the relative url of the newly uploaded file. The problem is that the protocol drop-down is still set to 'http://' meaning the new link is created as

It seems to me fck should be changing the protocol to '' when it fills in the relative url.

The same happens when using the 'browse server' button.

EDIT: Sorry it seems this issue has already been multiply reported. I'll put up a bug report.
Last edited by tamlyn on Sat Mar 25, 2006 3:02 am, edited 1 time in total.
Ted
Power Poster
Power Poster
Posts: 3329
Joined: Fri Jun 11, 2004 6:58 pm

Re: Incorrect URL when uploading files in FCKEditor

Post by Ted »

Yeah, this has been brought up before.  I was hoping I didn't have to dig into FCK's javascript myself to fix it, but I think I do.  I guess just clicking on browse server or the upload button will change it.  BTW, my javascript is really bad.  :)  I'll see what I can do.
Ted
Power Poster
Power Poster
Posts: 3329
Joined: Fri Jun 11, 2004 6:58 pm

Re: Incorrect URL when uploading files in FCKEditor

Post by Ted »

Ok, this change is in svn.  Should help with this issue.
Locked

Return to “[locked] Quality Assurance”