Author: david
Date: Thu Nov 3 16:37:01 2011
New Revision: 10255
Log:
Modify class/selector for "seeAll" javascript action to ignore information
object treeview, but work for term treeview. Fixes issue 2157
Modified:
trunk/js/treeView.js
trunk/lib/model/QubitTerm.php
Modified: trunk/js/treeView.js
==============================================================================
--- trunk/js/treeView.js Thu Nov 3 16:22:17 2011 (r10254)
+++ trunk/js/treeView.js Thu Nov 3 16:37:01 2011 (r10255)
@@ -199,7 +199,7 @@
var node = oArgs.node;
var parentNode = node.parent;
- if
(jQuery(node.getContentEl()).children('a').hasClass('seeAllNode'))
+ if
(jQuery(node.getContentEl()).children('a').is('.seeAllNode.XmlHttpRequest'))
{
// If current object is the last in the treeview, it may be out
// proper order, so reload data from position 9 (offset 8)
Modified: trunk/lib/model/QubitTerm.php
==============================================================================
--- trunk/lib/model/QubitTerm.php Thu Nov 3 16:22:17 2011 (r10254)
+++ trunk/lib/model/QubitTerm.php Thu Nov 3 16:37:01 2011 (r10255)
@@ -1001,7 +1001,7 @@
$node['parentId'] = $item['parentId'];
$node['href'] = '#';
$node['isLeaf'] = 'true';
- $node['style'] = 'seeAllNode';
+ $node['style'] = 'seeAllNode XmlHttpRequest';
}
$yuiTree[] = $node;
--
You received this message because you are subscribed to the Google Groups
"Qubit Toolkit Commits" 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/qubit-commits?hl=en.