From 9103c8184c1e8258ff4855c9755ff9b37486393b Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Wed, 31 Jul 2013 12:25:43 +0200 Subject: [PATCH] =?utf8?q?ClientJS-Erzeugung:=20Unterst=C3=BCtzung=20f?= =?utf8?q?=C3=BCr=20=20mit=20"n"=20eine=20beliebige=20Ziffer?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- scripts/generate_client_js_actions.pl | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/generate_client_js_actions.pl b/scripts/generate_client_js_actions.pl index d2219a1d1..448a42c51 100755 --- a/scripts/generate_client_js_actions.pl +++ b/scripts/generate_client_js_actions.pl @@ -47,6 +47,7 @@ foreach my $action (@actions) { $call =~ s//'action[1]'/eg; $call =~ s//$function/eg; $call =~ s//$args/eg; + $call =~ s//'action[' . ($1 + 1) . ']'/eg; $output .= $call . ";\n"; $first = 0; -- 2.20.1