Portal open in new window option was never used (#267)
This commit is contained in:
parent
de21cfdcd1
commit
97bcb5ed71
@ -15,6 +15,9 @@
|
|||||||
if(autocomplete.match('1')){autocomplete='on';}
|
if(autocomplete.match('1')){autocomplete='on';}
|
||||||
if(autocomplete.match('0')){autocomplete='off';}
|
if(autocomplete.match('0')){autocomplete='off';}
|
||||||
|
|
||||||
|
/* Set newwindow value (default is false) */
|
||||||
|
if(newwindow.match('1')){newwindow=true;}else{newwindow=false};
|
||||||
|
|
||||||
/* Set antiframe value (default is true) */
|
/* Set antiframe value (default is true) */
|
||||||
if(antiframe.match('0')){antiframe=false;}else{antiframe=true};
|
if(antiframe.match('0')){antiframe=false;}else{antiframe=true};
|
||||||
|
|
||||||
@ -51,7 +54,7 @@ $(document).ready(function(){
|
|||||||
$("input[type='password']").attr("autocomplete",autocomplete);
|
$("input[type='password']").attr("autocomplete",autocomplete);
|
||||||
|
|
||||||
/* Open links in new windows */
|
/* Open links in new windows */
|
||||||
if(newwindow){ $('#appslist a[href^="http://"]').attr("target", "_blank"); }
|
if(newwindow){ $('#appslist a').attr("target", "_blank"); }
|
||||||
|
|
||||||
/* Complete removeOther link */
|
/* Complete removeOther link */
|
||||||
if ($("p.removeOther").length) {
|
if ($("p.removeOther").length) {
|
||||||
|
@ -9,7 +9,7 @@ use strict;
|
|||||||
use Lemonldap::NG::Portal::Simple;
|
use Lemonldap::NG::Portal::Simple;
|
||||||
use utf8;
|
use utf8;
|
||||||
|
|
||||||
our $VERSION = '1.0.0';
|
our $VERSION = '1.0.2';
|
||||||
|
|
||||||
## @method array display()
|
## @method array display()
|
||||||
# Call portal process and set template parameters
|
# Call portal process and set template parameters
|
||||||
@ -89,6 +89,7 @@ sub display {
|
|||||||
%templateParams = (
|
%templateParams = (
|
||||||
AUTH_USER => $auth_user,
|
AUTH_USER => $auth_user,
|
||||||
AUTOCOMPLETE => $self->{portalAutocomplete},
|
AUTOCOMPLETE => $self->{portalAutocomplete},
|
||||||
|
NEWWINDOW => $self->{portalOpenLinkInNewWindow},
|
||||||
ANTIFRAME => $self->{portalAntiFrame},
|
ANTIFRAME => $self->{portalAntiFrame},
|
||||||
SKIN => $skin,
|
SKIN => $skin,
|
||||||
AUTH_ERROR => $self->error( undef, $self->{menuError} ),
|
AUTH_ERROR => $self->error( undef, $self->{menuError} ),
|
||||||
|
Loading…
Reference in New Issue
Block a user