Rank: Newbie Groups: Member
Joined: 11/13/2015 Posts: 1
|
Hello.
First thanks for EO.Web. I am using EO.Web 2013. It is a good product I am using for professional purposes.
I am implementing an HTML Editor and I want to translate it all into French. I translated most of it but I can't find how to change the JavaScript alert message "Please enter a valid Internet URL." when I post a InsertOrEditImage dialog with an empty input eo_editor_insertimage_url.
Does anyone know how to achieve that? Is it a behavior we can change such as find_nomatch in the ClientSideOnMessage JavaScript function? (see help > EO.Web > EO.Web HTML Editor > Localization)
Thanks in advance!
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,229
|
Hi, You will need to use this property: http://www.essentialobjects.com/doc/eo.web.control.clientsideonerror.aspxThis property points to the name of the JavaScript function that takes this prototype: http://www.essentialobjects.com/doc/jsdoc.public.web.handlers.clientside_error_handler.aspxIn your function, you can check the value of the "error" parameter and if it is "invalid_url", you can display your own version of the error message. Thanks!
|