NetTalk Central
NetTalk Web Server => Web Server - Ask For Help => Topic started by: peterH on March 30, 2020, 02:03:00 AM
-
After recompiling an app in first 11.30 and then 11.31 some icons are now missing from a text control that uses redactor. I haven't changed anything in the program. The program was previously compiled with 11.some-low-number.
Do I need to do something or is it an oversight of some sort?
Before and after pics attached.
Peter
-
I think those are controlled by options in the Redactor script itself. No icons involved per say.
Don
-
Don,
Understood. And I've studied the RedactorInit methods in netweb.clw - but they are not easy to understand (at least for me :) ).
Regardles, something has changed in the NT code resulting in the changed behavior.
Thanks
Peter
-
It's not in Clarion code.
It's in Redactor.js. Around line 1569.
See attached text file.
-
Don is not wrong, but alas, also not completely right.
So yes, the (default) options are in the javascript file, but they are also set / overridden by the code in netweb.clw, NetWebServerWorkerBase.RedactorInit method.
Typically the JavaScript widgets have "options" - these are set when the widget is created. The copy in the JavaScript is used as a "default value" so the Clarion code does not have to set _all_ of them, only the ones that need it.
In this case the issue is somewhat more mechanical. The plugins themselves are not being loaded. I've fixed that for 11.33
Cheers
Bruce