0
0
mirror of https://github.com/rkd77/elinks.git synced 2025-09-21 19:46:23 -04:00

[quicksjs] changed forms code, but still does not work

This commit is contained in:
Witold Filipczyk
2021-11-11 20:43:59 +01:00
parent 7d51951d5f
commit 28fba3eab3
4 changed files with 224 additions and 228 deletions

View File

@@ -402,6 +402,7 @@ void
ecmascript_detach_form_view(struct form_view *fv)
{
#ifdef CONFIG_QUICKJS
quickjs_detach_form_view(fv);
#else
spidermonkey_detach_form_view(fv);
#endif
@@ -410,6 +411,7 @@ ecmascript_detach_form_view(struct form_view *fv)
void ecmascript_detach_form_state(struct form_state *fs)
{
#ifdef CONFIG_QUICKJS
quickjs_detach_form_state(fs);
#else
spidermonkey_detach_form_state(fs);
#endif
@@ -418,6 +420,7 @@ void ecmascript_detach_form_state(struct form_state *fs)
void ecmascript_moved_form_state(struct form_state *fs)
{
#ifdef CONFIG_QUICKJS
quickjs_moved_form_state(fs);
#else
spidermonkey_moved_form_state(fs);
#endif