[dokuwiki] Re: Patch: Arbitrary Button types in JS toolbar
- From: Andreas Gohr <andi@xxxxxxxxxxxxxx>
- To: dokuwiki@xxxxxxxxxxxxx
- Date: Sun, 26 Aug 2007 21:25:33 +0200
On Thu, 23 Aug 2007 15:59:55 +0200
"Gabriel Birke" <Gabriel.Birke@xxxxxxxxx> wrote:
> Hello,
>
> This is my patch for creating toolbar buttons with arbitrary button
> types,
patch applied
> There is one thing I would like to discuss:
>
> Using closures instead of eval calls in the addBtnAction functions
> would make the code shorter, more readable and bug-tracking easier.
I had some problems making closures work inside a loop back when I
wrote this code. A working patch using closures instead would be great.
Andi
--
http://www.splitbrain.org
- References:
- [dokuwiki] Patch: Arbitrary Button types in JS toolbar
- From: Gabriel Birke
Other related posts:
- » [dokuwiki] Patch: Arbitrary Button types in JS toolbar
- » [dokuwiki] Re: Patch: Arbitrary Button types in JS toolbar
- [dokuwiki] Patch: Arbitrary Button types in JS toolbar
- From: Gabriel Birke