App-Office-Contacts-Donations
view release on metacpan or search on metacpan
lib/App/Office/Contacts/Donations/Controller/Initialize.pm view on Meta::CPAN
function make_organization_donations_focus(eve)
{
document.organization_update_donations_form.amount_input.focus();
}
function make_organization_notes_focus(eve)
{
document.organization_update_notes_form.note.focus();
}
function make_person_donations_focus(eve)
{
document.person_update_donations_form.amount_input.focus();
}
function make_person_notes_focus(eve)
{
document.person_update_notes_form.note.focus();
}
function make_report_focus(eve)
{
//document.report_form.report_id.focus();
}
function make_search_name_focus(eve)
{
document.search_form.target.focus();
}
function make_update_name_focus(eve)
{
document.update_organization_form.name.focus();
}
function make_update_given_names_focus(eve)
{
document.update_person_form.given_names.focus();
}
var inner_tab_set = new YAHOO.widget.TabView();
var tab_set = new YAHOO.widget.TabView();
// We have explicit variables so we can delete and recreate
// some of them whenever another set of details are displayed.
var about_tab;
var add_tab;
var search_tab;
var add_person_tab;
var person_donations_tab;
var person_tab;
var person_notes_tab;
var add_organization_tab;
var organization_donations_tab;
var organization_tab;
var organization_notes_tab;
var from_calendar;
var to_calendar;
var report_tab;
EJS
return $head_js;
} # End of build_head_js.
# -----------------------------------------------
sub display
{
my($self) = @_;
my($cookie_name) = 'donations';
$self -> log(debug => 'Entered display');
return 'Invalid cookie digest' if ($self -> validate_post($cookie_name) == 0);
$self -> generate_cookie($cookie_name);
return $self -> build_web_page;
} # End of display.
# -----------------------------------------------
1;
( run in 1.655 second using v1.01-cache-2.11-cpan-39bf76dae61 )