Ignore:
Timestamp:
04/29/13 20:25:28 (8 years ago)
Author:
ak19
Message:

Adding an Ajax Synchronous Post method to gsajaxapi.js which is then used by the setMetadataArray() that is called from document.dm. Also corrected a variable misspelling in baseaction (authenication changed to authentication) so that locating perl code that deals with authentication may become easier.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/perllib/cgiactions/baseaction.pm

    r27261 r27277  
    3131use inexport;
    3232
    33 our $authenication_enabled = 0;
     33our $authentication_enabled = 0;
    3434our $mail_enabled = 0;
    3535
     
    7171        $err_mess .= "    Compulsory args: ";
    7272        my @comp_args = ("c");
    73         push(@comp_args,"un") if ($authenication_enabled);
     73        push(@comp_args,"un") if ($authentication_enabled);
    7474        push(@comp_args,@{$action_table->{$a}->{'compulsory-args'}});
    7575        $err_mess .= join(", ", @comp_args);
     
    7878
    7979        my @opt_args = ();
    80         push(@opt_args,"un") if (!$authenication_enabled);
     80        push(@opt_args,"un") if (!$authentication_enabled);
    8181        push(@opt_args,@{$action_table->{$a}->{'optional-args'}});
    8282
Note: See TracChangeset for help on using the changeset viewer.