Bug 412324 - "Main content panel is not rendered for all WebCT/Blackboard installations" [p=crowder@fiverocks.com (Brian Crowder) r+a1.9=brendan a=blocking1.9+]

This commit is contained in:
reed@reedloden.com 2008-02-10 00:49:19 -08:00
parent 11dd37b83a
commit a269fceb53

View File

@ -1052,8 +1052,7 @@ js_InitExceptionClasses(JSContext *cx, JSObject *obj)
/* Make a constructor function for the current name. */
atom = cx->runtime->atomState.classAtoms[exceptions[i].key];
fun = js_DefineFunction(cx, obj, atom, exceptions[i].native, 3,
JSPROP_READONLY | JSPROP_PERMANENT);
fun = js_DefineFunction(cx, obj, atom, exceptions[i].native, 3, 0);
if (!fun)
break;