projects
/
kivitendo-erp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
FlattenToForm: nur für Positionsartikel gültige CVars übernehmen
[kivitendo-erp.git]
/
SL
/
Controller
/
PriceSource.pm
diff --git
a/SL/Controller/PriceSource.pm
b/SL/Controller/PriceSource.pm
index
10763ce
..
aea9f46
100644
(file)
--- a/
SL/Controller/PriceSource.pm
+++ b/
SL/Controller/PriceSource.pm
@@
-5,14
+5,13
@@
use strict;
use parent qw(SL::Controller::Base);
use List::MoreUtils qw(any uniq apply);
use parent qw(SL::Controller::Base);
use List::MoreUtils qw(any uniq apply);
-use SL::ClientJS;
use SL::Locale::String qw(t8);
use SL::PriceSource;
use Rose::Object::MakeMethods::Generic
(
scalar => [ qw(record_item) ],
use SL::Locale::String qw(t8);
use SL::PriceSource;
use Rose::Object::MakeMethods::Generic
(
scalar => [ qw(record_item) ],
- 'scalar --get_set_init' => [ qw(
js
record) ],
+ 'scalar --get_set_init' => [ qw(record) ],
);
__PACKAGE__->run_before('check_auth');
);
__PACKAGE__->run_before('check_auth');
@@
-53,7
+52,7
@@
sub render_price_dialog {
# $self->js->show('#dialog_flash_error');
# }
# $self->js->show('#dialog_flash_error');
# }
- $self->js->render
($self)
;
+ $self->js->render;
}
}
@@
-65,10
+64,6
@@
sub check_auth {
$::auth->assert('edit_prices');
}
$::auth->assert('edit_prices');
}
-sub init_js {
- SL::ClientJS->new
-}
-
sub init_record {
_make_record();
}
sub init_record {
_make_record();
}