X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Felements%2Fpopup_link.html;h=2b6b187e959e3b992cdca195ae21c4e5a4c3ba7f;hb=1cde870268b03197da75f089669d60a7ba3c5617;hp=fbb6ce3b8ad3d6e6dbf0d94a1be2a762292ba275;hpb=f3b1e139720b2262516ee3690b1d4b2b9941b500;p=freeside.git diff --git a/httemplate/elements/popup_link.html b/httemplate/elements/popup_link.html index fbb6ce3b8..2b6b187e9 100644 --- a/httemplate/elements/popup_link.html +++ b/httemplate/elements/popup_link.html @@ -2,9 +2,9 @@ Example: - include('/elements/init_overlib.html') + <& /elements/init_overlib.html &> - include( '/elements/popup_link.html', { #hashref or a list, either way is fine + <& /elements/popup_link.html', { #hashref or a list, either way is fine #required 'action' => 'content.html', # uri for content of popup @@ -23,7 +23,8 @@ Example: 'aname' => "target", # link NAME= value, useful for #targets 'target' => '_parent', 'style' => 'css-attribute:value', - } ) + } + &> % if ($params->{'action'} && $label) { @@ -46,6 +47,7 @@ if (ref($_[0]) eq 'HASH') { } my $label = $params->{'label'}; +$label =~ s/ / /g; my $onclick = include('/elements/popup_link_onclick.html', $params);