X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/e0a3b19e35aed6f3f8ba84e25381a5d0e6ca61f4..3dc29e42a53f674d4a5b745663b1f85b54131de2:/SL/Layout/ActionBar/Submit.pm diff --git a/SL/Layout/ActionBar/Submit.pm b/SL/Layout/ActionBar/Submit.pm index 751a96915..a277e3be2 100644 --- a/SL/Layout/ActionBar/Submit.pm +++ b/SL/Layout/ActionBar/Submit.pm @@ -3,12 +3,6 @@ package SL::Layout::ActionBar::Submit; use strict; use parent qw(SL::Layout::ActionBar::Action); -use JSON; - -use Rose::Object::MakeMethods::Generic ( - 'scalar --get_set_init' => [ qw(text submit) ], -); - sub render { $_[0]->p->html_tag('div', $_[0]->text, id => $_[0]->id, @@ -16,11 +10,4 @@ sub render { ); } -sub script { - # store submit and form and stuff in data attribute - sprintf q|$('#%s').data('action', %s);|, $_[0]->id, JSON::to_json({ - submit => $_[0]->submit, - }); -} - 1;