[dokuwiki] Re: Editing Toolbar
- From: "Terence J. Grant" <tjgrant@xxxxxxxxxxxx>
- To: dokuwiki@xxxxxxxxxxxxx
- Date: Wed, 24 Jan 2007 19:15:57 -0500
What do you mean by "onError" handler? wrapping everything in a large
try-catch block?
No, I'm referring to this:
http://www.w3schools.com/js/js_onerror.asp
You can set and reset the JavaScript error handler as you wish.
All I'm thinking is something simple so that when there's a JavaScript
error when do=edit, the end user sees a message stating something
along the lines of:
"Warning: There were JavaScript errors detected, thus your edit
toolbar may not show up in Internet Explorer."
or "Your editing toolbar may not be visible, see
[[dw>wiki:faq:toolbar]] for details."
I imagine this could either come up as a JavaScript based "alert" or
through html_msgarea() (which is where other dokuwiki-related
warnings/errors go, right?)
Again this way we can save on all the emails and such regarding IE
toolbar problems that are due to (probably) user-based JavaScript
errors.
--
--Terence J. Grant(tjgrant@xxxxxxxxxxxx)
--
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist
- Follow-Ups:
- [dokuwiki] Re: Editing Toolbar
- From: Andreas Gohr
- References:
- [dokuwiki] Editing Toolbar
- From: Terence J. Grant
- [dokuwiki] Re: Editing Toolbar
- From: Terence J. Grant
- [dokuwiki] Re: Editing Toolbar
- From: Andreas Gohr
Other related posts:
What do you mean by "onError" handler? wrapping everything in a large try-catch block?
- [dokuwiki] Re: Editing Toolbar
- From: Andreas Gohr
- [dokuwiki] Editing Toolbar
- From: Terence J. Grant
- [dokuwiki] Re: Editing Toolbar
- From: Terence J. Grant
- [dokuwiki] Re: Editing Toolbar
- From: Andreas Gohr