remove all option for checklist
This commit is contained in:
parent
a41929168d
commit
4b1608646d
1 changed files with 5 additions and 2 deletions
|
@ -600,8 +600,7 @@ var UI = {
|
||||||
case 'checklist':
|
case 'checklist':
|
||||||
$field = $('<div>').addClass('checkcontainer');
|
$field = $('<div>').addClass('checkcontainer');
|
||||||
$controls = $('<div>').addClass('controls');
|
$controls = $('<div>').addClass('controls');
|
||||||
$checklist = $('<div>').addClass('checklist');
|
/* All tends to be confusing: disable it for now
|
||||||
$field.append($controls).append($checklist);
|
|
||||||
$controls.append(
|
$controls.append(
|
||||||
$('<label>').text('All').prepend(
|
$('<label>').text('All').prepend(
|
||||||
$('<input>').attr('type','checkbox').click(function(){
|
$('<input>').attr('type','checkbox').click(function(){
|
||||||
|
@ -614,6 +613,10 @@ var UI = {
|
||||||
})
|
})
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
$field.append($controls);
|
||||||
|
*/
|
||||||
|
$checklist = $('<div>').addClass('checklist');
|
||||||
|
$field.append($checklist);
|
||||||
for (var i in e.checklist) {
|
for (var i in e.checklist) {
|
||||||
if (typeof e.checklist[i] == 'string') {
|
if (typeof e.checklist[i] == 'string') {
|
||||||
e.checklist[i] = [e.checklist[i], e.checklist[i]];
|
e.checklist[i] = [e.checklist[i], e.checklist[i]];
|
||||||
|
|
Loading…
Add table
Reference in a new issue