If this is not a bug it's bloody annoying (can't save javascript library)

RANTING ALERT

Just wasted an hour working this one out:

Problem:

When I make changes to a Javascript Linrary they aren’t saved. The library is signed by me, and the modified date is correct but no code changes are saved. I can also change the library name and save it fine. Only the code is not saved.

Every other type of design element is fine, I can even enter javascript code into the JSHeader element on forms and subforms and save them just fine.

This only effects Javascript Libraries.

Answer:

I have ‘Enable Javascript’ unchecked in my user preferences.

How stupid is that ?!?!?!?!??!

At first I was thinking, ‘ok sounds logical’ but then I thought about it. That user preference is so I can control the running of javascript in the CLIENT it should not prevent me from saving my own code in DESIGNER.

If I leave it unchecked and try to save javascript in any design element I also get an error in the status bar: “Script cannot be checked for syntax errors because Javascript is not enabled”

OK I accept that, it’s a little stupid, but I can accept it. But to not allow a script library to save ?!?! I can save JS code in forms without syntax checking, why not JS Libraries ?

So for now I must allow JS to run in my Notes client just so I can have syntax checking and be able to save libraries in my designer client…

THE IDE SHOULD BE SEPERATE FROM THE CLIENT !!!

It must be a bug!

Subject: If this is not a bug it’s bloody annoying (can’t save javascript library)

Your logic is correct.

I must say that all the ScriptLibraries are a bit querky in some sense or other. You have just found the querk with the Javascript ScriptLibrary.

Rolf Pfotenhauer

Software Engineer

email: rolfpf@yahoo.com.au