From: Sven Schöling Date: Thu, 2 Feb 2012 11:40:32 +0000 (+0100) Subject: Fehlerhafte renders für Ajax reordering X-Git-Tag: release-2.7.0beta1~10^2~11 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=ab7fb099670f2a534540661c6bcc2d6ab92599de;p=kivitendo-erp.git Fehlerhafte renders für Ajax reordering Wurden zwar eh verworfen, aber sollten trotzden korrekt sein. --- 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 }); } #