Improve GroupList isGroup() method
This commit is contained in:
parent
cc37ad1ffc
commit
cb8e8c9e01
1 changed files with 1 additions and 1 deletions
|
@ -74,7 +74,7 @@ function GroupList() {
|
|||
}
|
||||
|
||||
this.isGroup=function(el) {
|
||||
return (el.isGroup!==undefined);
|
||||
return (jQuery.type(el)=='object' && jQuery.type(el.isGroup)=='function' && el.isGroup());
|
||||
}
|
||||
|
||||
this.removeGroup=function(name) {
|
||||
|
|
Loading…
Reference in a new issue