update v 1.0.7.5
This commit is contained in:
@@ -450,26 +450,23 @@ if (Auth::user()->role == 'agent') {
|
||||
|
||||
|
||||
|
||||
function someFunction(id){
|
||||
if(document.getElementById(id).checked) {
|
||||
t_id.push(id);
|
||||
// alert(t_id);
|
||||
} else {
|
||||
var index = t_id.indexOf(id);
|
||||
t_id.splice(index, 1);
|
||||
// alert(t_id);
|
||||
function someFunction(id) {
|
||||
if (document.getElementById(id).checked) {
|
||||
t_id.push(id);
|
||||
// alert(t_id);
|
||||
} else if(document.getElementById(id).checked === undefined){
|
||||
var index = t_id.indexOf(id);
|
||||
if (index === -1){
|
||||
t_id.push(id);
|
||||
} else{
|
||||
t_id.splice(index, 1);
|
||||
}
|
||||
} else {
|
||||
var index = t_id.indexOf(id);
|
||||
t_id.splice(index, 1);
|
||||
// alert(t_id);
|
||||
}
|
||||
}
|
||||
|
||||
// thisid.push(id);
|
||||
// alert(thisid);
|
||||
// document.getElementById("demo").innerHTML = thisid;
|
||||
|
||||
|
||||
// push.thisid;
|
||||
// alert(thisid);
|
||||
|
||||
// document.getElementByID('demo').innerHTML = thisid;
|
||||
}
|
||||
|
||||
</script>
|
||||
@stop
|
||||
Reference in New Issue
Block a user