diff --git a/src/helma/scripting/rhino/GlobalObject.java b/src/helma/scripting/rhino/GlobalObject.java index 85f10b92..0810077e 100644 --- a/src/helma/scripting/rhino/GlobalObject.java +++ b/src/helma/scripting/rhino/GlobalObject.java @@ -77,7 +77,7 @@ public class GlobalObject extends ImporterTopLevel implements PropertyRecorder { "wrapJavaMap", "unwrapJavaMap", "toJava" }; - defineFunctionProperties(globalFuncs, GlobalObject.class, DONTENUM | READONLY | PERMANENT); + defineFunctionProperties(globalFuncs, GlobalObject.class, DONTENUM | PERMANENT); put("app", this, Context.toObject(new ApplicationBean(app), this)); put("Xml", this, Context.toObject(new XmlObject(core), this)); put("global", this, this); diff --git a/src/helma/scripting/rhino/ListViewWrapper.java b/src/helma/scripting/rhino/ListViewWrapper.java index 14fbc06b..66e006de 100644 --- a/src/helma/scripting/rhino/ListViewWrapper.java +++ b/src/helma/scripting/rhino/ListViewWrapper.java @@ -83,7 +83,7 @@ public class ListViewWrapper extends ScriptableObject implements Wrapper, Script * Init JS functions from methods. */ void init() { - int attributes = READONLY | DONTENUM | PERMANENT; + int attributes = DONTENUM | PERMANENT; Method[] methods = getClass().getDeclaredMethods(); for (int i=0; i