Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
B
bootstrap-multiselect
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
bootstrap-multiselect
Commits
8d246fff
Commit
8d246fff
authored
Oct 14, 2014
by
David Stutz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#378, #376: example for PHP usage. Updated bower.
parent
0bbd01c7
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
200 additions
and
11 deletions
+200
-11
bower.json
bower.json
+18
-8
bootstrap-multiselect.js
dist/js/bootstrap-multiselect.js
+3
-2
index.html
index.html
+176
-1
post.php
post.php
+3
-0
No files found.
bower.json
View file @
8d246fff
{
{
"name"
:
"bootstrap-multiselect"
,
"name"
:
"bootstrap-multiselect"
,
"description"
:
"Twitter Bootstrap plugin to make selects user friendly."
,
"homepage"
:
"http://davidstutz.github.io/bootstrap-multiselect/"
,
"version"
:
"0.9.9"
,
"version"
:
"0.9.9"
,
"keywords"
:
[
"js"
,
"css"
,
"less"
,
"bootstrap"
,
"jquery"
,
"multiselect"
],
"main"
:
[
"main"
:
[
"./js/bootstrap-multiselect.js"
,
"./dist/js/bootstrap-multiselect.js"
,
"./css/bootstrap-multiselect.css"
"./dist/css/bootstrap-multiselect.css"
,
"./dist/less/bootstrap-multiselect.less"
],
],
"dependencies"
:
{
"dependencies"
:
{
"jquery"
:
">= 1.11.0"
,
"jquery"
:
">= 1.11.0"
,
"bootstrap"
:
">= 2.3.2"
"bootstrap"
:
">= 2.3.2"
},
},
"ignore"
:
[
"ignore"
:
[
"js/bootstrap-3*"
,
"docs/.*"
,
"js/jquery*"
,
"tests/.*"
,
"js/prettify*"
,
"css/bootstrap-3*"
,
"css/prettify*"
,
"*.html"
,
"*.html"
,
"*.git*"
,
"*.git*"
,
"fonts"
"*.md"
,
"*.png"
,
"*.php"
]
]
}
}
dist/js/bootstrap-multiselect.js
View file @
8d246fff
...
@@ -242,6 +242,7 @@
...
@@ -242,6 +242,7 @@
includeSelectAllIfMoreThan
:
0
,
includeSelectAllIfMoreThan
:
0
,
selectAllText
:
'
Select all
'
,
selectAllText
:
'
Select all
'
,
selectAllValue
:
'
multiselect-all
'
,
selectAllValue
:
'
multiselect-all
'
,
selectAllName
:
false
,
enableFiltering
:
false
,
enableFiltering
:
false
,
enableCaseInsensitiveFiltering
:
false
,
enableCaseInsensitiveFiltering
:
false
,
enableClickableOptGroups
:
false
,
enableClickableOptGroups
:
false
,
...
@@ -669,8 +670,8 @@
...
@@ -669,8 +670,8 @@
var
$li
=
$
(
this
.
options
.
templates
.
li
);
var
$li
=
$
(
this
.
options
.
templates
.
li
);
$
(
'
label
'
,
$li
).
addClass
(
"
checkbox
"
);
$
(
'
label
'
,
$li
).
addClass
(
"
checkbox
"
);
if
(
this
.
options
.
checkbox
Name
)
{
if
(
this
.
options
.
selectAll
Name
)
{
$
(
'
label
'
,
$li
).
append
(
'
<input type="checkbox" name="
'
+
this
.
options
.
checkbox
Name
+
'
" />
'
);
$
(
'
label
'
,
$li
).
append
(
'
<input type="checkbox" name="
'
+
this
.
options
.
selectAll
Name
+
'
" />
'
);
}
}
else
{
else
{
$
(
'
label
'
,
$li
).
append
(
'
<input type="checkbox" />
'
);
$
(
'
label
'
,
$li
).
append
(
'
<input type="checkbox" />
'
);
...
...
index.html
View file @
8d246fff
This diff is collapsed.
Click to expand it.
post.php
0 → 100644
View file @
8d246fff
<?php
print_r
(
$_POST
);
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment