Mozilla

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

Please do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.

This forum is for discussing mojoPortal development

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

You can monitor commits to the repository from this page. We also recommend developers to subscribe to email notifications in the developer forum as occasionally important things are announced.

Before posting questions here you might want to review the developer documentation.

Do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.
This thread is closed to new posts. You must sign in to post in the forums.
6/8/2006 3:46:55 PM
Gravatar
Total Posts 18439

Re: Mozilla

I don't think browser caps is involved at all because the code for browser detection was changed by me to this a long time ago to solve a mono bug

System.Web.HttpBrowserCapabilities oBrowser = Page.Request.Browser ;

            // added 7/30/2005 Joe Audette
            return oBrowser.JavaScript;

and stepping through it returns true
6/8/2006 3:58:51 PM
Gravatar
Total Posts 18439

Re: Mozilla

I've even re-installed Firefox and the problem persists.

Dean, I commited the change to trunk for the editor in contact form can you try it on your end?

I'm seeing a long list of javascript errors in the console even on this site when th editor is open.

Thanks,

Joe
6/9/2006 8:27:10 AM
Gravatar
Total Posts 148

Re: Mozilla

My primary development box is being upgraded at the moment so I can't test right away.  Hopefully within the next couple days though.

--Dean
6/10/2006 7:05:14 AM
Gravatar
Total Posts 148

Re: Mozilla

I just submitted a fix (change 1043) to SVN trunk.  All but one of the errors in the Javascript console were CSS errors and could be safely ignored for the purposes of this bug.  The only actual Javascript error was:

FCK.LinkedField has no properties (in FCKEditor/editor/js/fckeditorcode_gecko_1.js, line14)

I implemented the fix I found in a Community Server post.

Since I'm not seeing the problem on mojoportal.com, I'm assuming that the bug was fixed in FCKEditor 2.2 which is used in the 2.1 branch.

--Dean

P.S. Since I'm using mono-1.1.13.7 I also needed to update /etc/mono/browscap.ini to recognize that Firefox-1.5 has javascript.
6/10/2006 7:26:25 AM
Gravatar
Total Posts 18439

Re: Mozilla

Great Work Dean!

That fixed the symptom as I was seeing it in trunk and it was not fixed in the 2.1 branch so I copied your fix there and committed.
I just downloaded the latest .NET wrapper from the FCK site and it still has the bug so it might be good to report it upstream.

Scott,

Can you get lates from branches/2.1 and see if its fixed for you?

Thanks,

Joe
6/10/2006 3:21:06 PM
Gravatar
Total Posts 14

Re: Mozilla

I am seeing the same symptoms even after clearing the cache a couple of times.  I also deleted my checked out code and did a new checkout to make sure that wasn't it.  I am now really confused?!?  I do appreciate your help, just not sure why my box is deciding to give me fits.  I am using the 2.1 branch on a machine with Windows XP Pro, and SQL 2005 Express on it.  I am not sure if anything else is relavent.
6/10/2006 3:30:40 PM
Gravatar
Total Posts 18439

Re: Mozilla

Darn, I was really thinking that was the fix. You did Rebuild the Solution after gettting the latest right?

Joe
6/10/2006 3:32:17 PM
Gravatar
Total Posts 18439

Re: Mozilla

Oh, nevermind I guess you must have it you did a clean checkout.

Rats, I'll keep digging.

Joe
6/10/2006 3:44:39 PM
Gravatar
Total Posts 148

Re: Mozilla

If you search in the HTML source for the page that Firefox displays, does it contain an iframe or a textarea?  If it is displaying a textarea, then ASP.NET must think your browser doesn't support javascript.  If it is an iframe, there is probably a javascript error in the javascript console (one associated with a js file instead of a css file).  Let us know what it is.

--Dean
6/10/2006 5:18:50 PM
Gravatar
Total Posts 18439

Re: Mozilla

I just committed a change to include some of the FCK files in the 2.1 project that were not previously included.

I really don't think this will fix anything because the files were already on disk and that should be all that is needed to work, the change I made is really just so VS knows about the files.

But with weird bugs like this you never know what might fix it.

Joe
6/10/2006 6:59:08 PM
Gravatar
Total Posts 14

Re: Mozilla

The error I get in the Java Console window is as follows:

Error: The stylesheet http://localhost/mojo/Data/Sites/1/skins/GotMono/style.css was not loaded because its MIME type, "application/x-css", is not "text/css".
Source File: http://localhost/mojo/
Line: 0

I haven't downloaded the latest source to compile yet, but will soon.

Thanks,
Scott
You must sign in to post in the forums. This thread is closed to new posts.