Author: sevein
Date: Mon Aug 27 11:48:03 2012
New Revision: 12216
Log:
Make sure that the grip shows only when this.sortable is true
Modified:
trunk/js/treeView.js
Modified: trunk/js/treeView.js
==============================================================================
--- trunk/js/treeView.js Mon Aug 27 11:36:09 2012 (r12215)
+++ trunk/js/treeView.js Mon Aug 27 11:48:03 2012 (r12216)
@@ -182,6 +182,12 @@
refreshSortableBehavior: function ()
{
+ // Create jquery-ui sortable object
+ if (!this.sortable)
+ {
+ return this;
+ }
+
var nodes = this.$element.find(this.nodesSelector);
if (1 < nodes)
--
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.