1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-11-04 08:17:17 -05:00

Maybe this time it won't crash

This commit is contained in:
2006-01-28 17:08:45 +01:00
parent 7c7541f4d1
commit 71871edd43

View File

@ -441,9 +441,11 @@ js_get_input_object(struct SEE_interpreter *interp, struct js_form *jsform,
struct js_input *jsinput; struct js_input *jsinput;
checktime(interp); checktime(interp);
#if 0
if (fs->ecmascript_obj) if (fs->ecmascript_obj)
return fs->ecmascript_obj; return fs->ecmascript_obj;
#endif
/* jsform ('form') is input's parent */ /* jsform ('form') is input's parent */
/* FIXME: That is NOT correct since the real containing element /* FIXME: That is NOT correct since the real containing element
* should be its parent, but gimme DOM first. --pasky */ * should be its parent, but gimme DOM first. --pasky */
@ -943,9 +945,10 @@ struct js_form *js_get_form_object(struct SEE_interpreter *interp,
struct js_form *js_form; struct js_form *js_form;
checktime(interp); checktime(interp);
#if 0
if (fv->ecmascript_obj) if (fv->ecmascript_obj)
return fv->ecmascript_obj; return fv->ecmascript_obj;
#endif
/* jsdoc ('document') is fv's parent */ /* jsdoc ('document') is fv's parent */
/* FIXME: That is NOT correct since the real containing element /* FIXME: That is NOT correct since the real containing element
* should be its parent, but gimme DOM first. --pasky */ * should be its parent, but gimme DOM first. --pasky */