From ab7fb099670f2a534540661c6bcc2d6ab92599de Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sven=20Sch=C3=B6ling?= Date: Thu, 2 Feb 2012 12:40:32 +0100 Subject: [PATCH] =?utf8?q?Fehlerhafte=20renders=20f=C3=BCr=20Ajax=20reorde?= =?utf8?q?ring?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Wurden zwar eh verworfen, aber sollten trotzden korrekt sein. --- SL/Controller/CustomVariableConfig.pm | 2 +- SL/Controller/PaymentTerm.pm | 2 +- SL/Controller/PriceFactor.pm | 2 +- SL/Controller/Unit.pm | 2 +- SL/Controller/Warehouse.pm | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/SL/Controller/CustomVariableConfig.pm b/SL/Controller/CustomVariableConfig.pm index 0c47799de..a2842a0ec 100644 --- a/SL/Controller/CustomVariableConfig.pm +++ b/SL/Controller/CustomVariableConfig.pm @@ -22,7 +22,7 @@ sub action_reorder { } }); - $self->render(type => 'js', inline => '1;'); + $self->render('1;', { type => 'js', inline => 1 }); } # diff --git a/SL/Controller/PaymentTerm.pm b/SL/Controller/PaymentTerm.pm index 295b44b5c..3a768a2d4 100644 --- a/SL/Controller/PaymentTerm.pm +++ b/SL/Controller/PaymentTerm.pm @@ -75,7 +75,7 @@ sub action_reorder { } }); - $self->render(type => 'js', inline => '1;'); + $self->render('1;', { type => 'js', inline => 1 }); } # diff --git a/SL/Controller/PriceFactor.pm b/SL/Controller/PriceFactor.pm index 31f0e46f1..31b376d2d 100644 --- a/SL/Controller/PriceFactor.pm +++ b/SL/Controller/PriceFactor.pm @@ -22,7 +22,7 @@ sub action_reorder { } }); - $self->render(type => 'js', inline => '1;'); + $self->render('1;', { type => 'js', inline => 1 }); } # diff --git a/SL/Controller/Unit.pm b/SL/Controller/Unit.pm index 018a7b387..72cd5ce71 100644 --- a/SL/Controller/Unit.pm +++ b/SL/Controller/Unit.pm @@ -22,7 +22,7 @@ sub action_reorder { } }); - $self->render(type => 'js', inline => '1;'); + $self->render('1;', { type => 'js', inline => 1 }); } # diff --git a/SL/Controller/Warehouse.pm b/SL/Controller/Warehouse.pm index a7b059c89..cfc84a667 100644 --- a/SL/Controller/Warehouse.pm +++ b/SL/Controller/Warehouse.pm @@ -22,7 +22,7 @@ sub action_reorder { } }); - $self->render(type => 'js', inline => '1;'); + $self->render('1;', { type => 'js', inline => 1 }); } # -- 2.20.1