okular/core/script
Albert Astals Cid d78cbb79c9 Fix/Workaround file where we can't enter values in some fields
The problem was that the JS checker for the field format was using the
willCommit property of event and we don't define it so the JS
interpreter was going "ok nope, out of here" and the field didn't get edited.

I've read the willCommit definition in js_api_reference.pdf for almost
30 minutes, and even it's just 3 lines i don't think i understand it,
but i think that returning true is "safer", i.e. says that this event is
going to actually change the field, which as far as i can see it's what
we always do

BUGS: 421508
2020-06-15 20:45:21 +00:00
..
builtin.js Add AFNumber_Format and l10n AFSimple_Calculate 2020-03-08 13:05:36 +01:00
builtin.qrc Add initial support for built-in javascript functs 2018-02-22 00:12:44 +01:00
event.cpp Fix minor issues found by EBN 2019-10-14 12:13:33 +03:00
event_p.h Fix minor issues found by EBN 2019-10-14 12:13:33 +03:00
executor_kjs.cpp Restrict time given for JavaScript evaluation to max. 2 seconds. 2020-02-11 22:34:46 +00:00
executor_kjs_p.h Implemented display support and updated dependencies to Poppler > 0.79 2019-07-20 12:06:12 +02:00
kjs_app.cpp Enable clazy qstring-allocations 2020-02-21 17:45:03 +01:00
kjs_app_p.h Fixed indentation, bad algebra and moved display enum to KJSDisplay 2019-07-20 12:06:42 +02:00
kjs_console.cpp Port deprecated QLayout::setMargin 2019-09-18 13:35:04 +02:00
kjs_console_p.h Start implementing the JavaScript scripting API for PDF documents, 2008-05-18 16:37:07 +00:00
kjs_data.cpp Use QStringLiteral 2015-10-29 13:37:11 +01:00
kjs_data_p.h Start implementing the JavaScript scripting API for PDF documents, 2008-05-18 16:37:07 +00:00
kjs_display.cpp Fixed indentation, bad algebra and moved display enum to KJSDisplay 2019-07-20 12:06:42 +02:00
kjs_display_p.h Fixed indentation, bad algebra and moved display enum to KJSDisplay 2019-07-20 12:06:42 +02:00
kjs_document.cpp Added support for the full name of fields, which is used in the JavaScript 2019-08-07 22:40:50 +00:00
kjs_document_p.h adapt to a change I just applied in kdelibs 2008-05-19 00:26:53 +00:00
kjs_event.cpp Fix/Workaround file where we can't enter values in some fields 2020-06-15 20:45:21 +00:00
kjs_event_p.h Add JavaScript Event Object handling 2018-02-22 00:11:20 +01:00
kjs_field.cpp Move the Q_PRIVATE_SLOTS to lambda connections 2019-12-20 16:42:58 +01:00
kjs_field_p.h Refresh the pixmap of the page that contains the field when setting its text 2017-03-03 00:36:08 +01:00
kjs_fullscreen.cpp Use QStringLiteral 2015-10-29 13:37:11 +01:00
kjs_fullscreen_p.h Start implementing the JavaScript scripting API for PDF documents, 2008-05-18 16:37:07 +00:00
kjs_ocg.cpp Enable most of clazy level2 2020-02-21 14:57:48 +01:00
kjs_ocg_p.h Enable most of clazy level2 2020-02-21 14:57:48 +01:00
kjs_spell.cpp Fix minor EBN issues 2018-08-31 12:23:45 +03:00
kjs_spell_p.h Start implementing the JavaScript scripting API for PDF documents, 2008-05-18 16:37:07 +00:00
kjs_util.cpp Add AFNumber_Format and l10n AFSimple_Calculate 2020-03-08 13:05:36 +01:00
kjs_util_p.h Start implementing the JavaScript scripting API for PDF documents, 2008-05-18 16:37:07 +00:00