18 |
/; |
/; |
19 |
# FormValidator |
# FormValidator |
20 |
|
|
21 |
our $VERSION = '0.18-dev'; |
our $VERSION = '0.21-dev'; |
22 |
|
|
23 |
# |
# |
24 |
# Configure the application |
# Configure the application |
70 |
if ($c->response->body) { |
if ($c->response->body) { |
71 |
$c->log->debug("at end body exists, we won't touch it!"); |
$c->log->debug("at end body exists, we won't touch it!"); |
72 |
} else { |
} else { |
73 |
$c->fillform( $c->req->parameters ); |
$c->fillform( $c->req->params ); |
74 |
|
|
75 |
# Forward to View unless response body is already defined |
# Forward to View unless response body is already defined |
76 |
$c->forward('View::TT'); |
$c->forward('View::TT'); |
77 |
|
|
78 |
$c->response->{body} =~ s#\Qnew Ajax.Autocompleter(\E#new Ajax.Suggest(#gs; |
$c->response->{body} =~ s#\Qnew Ajax.Autocompleter(\E#new WebPAC.Suggest(#gs; |
79 |
# $c->log->debug( $c->response->body ); |
$c->response->{body} =~ s#\Qnew Ajax.Updater(\E#new WebPAC.Updater(#gs; |
80 |
|
|
81 |
|
# $c->log->debug( $c->response->body ); |
82 |
} |
} |
83 |
|
|
84 |
} |
} |