|
@@ -764,7 +764,7 @@ function loadShow()
|
|
|
}
|
|
|
|
|
|
var filter = $(this).attr('lay-filter');
|
|
|
- if (filter) {
|
|
|
+ if (filter && filter.indexOf('_all') == -1) {
|
|
|
form.on('radio('+filter+')', function(data) {
|
|
|
inputShow($(this), $(this).attr('show_id'), 'input');
|
|
|
})
|
|
@@ -778,7 +778,7 @@ function loadShow()
|
|
|
inputShow($(this), $(this).attr('show_id'), 'input');
|
|
|
}
|
|
|
var filter = $(this).attr('lay-filter');
|
|
|
- if (filter) {
|
|
|
+ if (filter && filter.indexOf('_all') == -1) {
|
|
|
form.on('checkbox('+filter+')', function(data) {
|
|
|
inputShow($(this), $(this).attr('show_id'), 'input');
|
|
|
})
|
|
@@ -1754,9 +1754,10 @@ function checkbox()
|
|
|
if($(this).get(0).checked == true)
|
|
|
{
|
|
|
num = 1;
|
|
|
+
|
|
|
if ($('#' + id).length) {
|
|
|
$('#' + id).remove();
|
|
|
- }
|
|
|
+ }*/
|
|
|
}
|
|
|
});
|
|
|
if(num == 0)
|
|
@@ -1812,8 +1813,9 @@ function checkbox()
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- if ($(this).attr('onclick') && $(this).attr('onclick').indexOf('show') > 0) {
|
|
|
- inputShow($(this), 'col');
|
|
|
+ if ($(this).attr('onclick') && $(this).attr('onclick').indexOf('Show') > 0) {
|
|
|
+
|
|
|
+ inputShow($(this), $(this).attr('show_id'), 'input');
|
|
|
}
|
|
|
|
|
|
form.render('checkbox');
|
|
@@ -1858,8 +1860,9 @@ function checkbox()
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- if ($(this).attr('onclick') && $(this).attr('onclick').indexOf('show') > 0) {
|
|
|
- inputShow($(this), 'col');
|
|
|
+ if ($(this).attr('onclick') && $(this).attr('onclick').indexOf('Show') > 0) {
|
|
|
+
|
|
|
+ inputShow($(this), $(this).attr('show_id'), 'input');
|
|
|
}
|
|
|
})
|
|
|
});
|