Author: clopes
Date: 2011-10-12 08:34:39 -0700 (Wed, 12 Oct 2011)
New Revision: 27141
Modified:
cytoscapeweb/branches/compound/html-template/js/cytoscapeweb.js
Log:
Fixed filter bug that prevented filtering out all elements when filter array
was empty or null.
Modified: cytoscapeweb/branches/compound/html-template/js/cytoscapeweb.js
===================================================================
--- cytoscapeweb/branches/compound/html-template/js/cytoscapeweb.js
2011-10-12 14:43:25 UTC (rev 27140)
+++ cytoscapeweb/branches/compound/html-template/js/cytoscapeweb.js
2011-10-12 15:34:39 UTC (rev 27141)
@@ -1237,9 +1237,7 @@
} else if (this._typeof(filter) === "array") {
arr = filter;
}
- if (arr != null && arr.length > 0) {
- this.swf().filter(gr, arr, updateVisualMappers);
- }
+ this.swf().filter(gr, arr, updateVisualMappers);
return this;
},
--
You received this message because you are subscribed to the Google Groups
"cytoscape-cvs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/cytoscape-cvs?hl=en.