summaryrefslogtreecommitdiff
path: root/httemplate/elements/header-full.html
diff options
context:
space:
mode:
authorMitch Jackson <mitch@freeside.biz>2018-11-18 02:46:00 -0500
committerMitch Jackson <mitch@freeside.biz>2018-11-27 22:03:29 -0500
commiteef059d5ac83912bf16e5647bd7af1a462ea32b1 (patch)
treecea4704a578247ef031a2a77e07b5f31bc0bf586 /httemplate/elements/header-full.html
parent71cc0d5b3e5e878e23a971cb2b1836d6ddd28e0e (diff)
RT# 32243 Implement Selectize.js library
Diffstat (limited to 'httemplate/elements/header-full.html')
-rw-r--r--httemplate/elements/header-full.html7
1 files changed, 7 insertions, 0 deletions
diff --git a/httemplate/elements/header-full.html b/httemplate/elements/header-full.html
index b459a11cf..08e20c875 100644
--- a/httemplate/elements/header-full.html
+++ b/httemplate/elements/header-full.html
@@ -53,6 +53,11 @@ Example:
<SCRIPT SRC="<% $fsurl %>elements/printtofit.js"></SCRIPT>
% }
% }
+% if ( $include_selectize ) {
+ <script src="<% $fsurl %>elements/selectize/selectize.min.js"></script>
+ <link href="<% $fsurl %>elements/selectize/selectize.css" type="text/css" rel="stylesheet">
+ <link href="<% $fsurl %>elements/selectize/selectize-freeside.css" type="text/css" rel="stylesheet">
+% }
<% include('init_overlib.html') |n %>
<% include('rs_init_object.html') |n %>
<script type="text/javascript" src="<% $fsurl %>elements/topreload.js"></script>
@@ -221,6 +226,7 @@ my( $title, $title_noescape, $menubar, $etc, $head ) = ( '', '', '', '', '' );
my( $nobr, $nocss, $no_jquery ) = ( 0, 0, 0 );
my $mobile;
+my $include_selectize;
if ( ref($_[0]) ) {
my $opt = shift;
@@ -233,6 +239,7 @@ if ( ref($_[0]) ) {
$nocss = $opt->{nocss};
$mobile = $opt->{mobile};
$no_jquery = $opt->{no_jquery};
+ $include_selectize = $opt->{include_selectize} ? 1 : 0;
} else {
($title, $menubar) = ( shift, shift );
$etc = @_ ? shift : ''; #$etc is for things like onLoad= etc.