Skip to content

Commit

Permalink
Bumping version to 2.12.0
Browse files Browse the repository at this point in the history
  • Loading branch information
mar10 committed Sep 10, 2015
1 parent 55a7f3b commit f9f1533
Show file tree
Hide file tree
Showing 49 changed files with 1,013 additions and 583 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "jquery.fancytree",
"description": "Fancytree is a JavaScript tree view plugin for jQuery with support for persistence, keyboard, checkboxes, drag'n'drop, and lazy loading.",
"version": "2.11.1-0",
"version": "2.12.0",
"main": [
"dist/jquery.fancytree-all.min.js"
],
Expand Down
20 changes: 10 additions & 10 deletions demo/sample-multi-dnd.html
Original file line number Diff line number Diff line change
Expand Up @@ -50,13 +50,13 @@
// prevent mouse-drags to select text ranges
// tree.debug("<span title> got event " + event.type);
event.preventDefault();
TODO: disable auto-scroll by default:
seems to have problems to calculate helper position,
--> see here http://api.jqueryui.com/draggable/#event-drag
for a possible fix?
and enabling scrolling would always require custom changes, like
setting the container height?
TODO: Revert always flies to top-left corner of container
TODO: disable auto-scroll by default:
seems to have problems to calculate helper position,
--> see here http://api.jqueryui.com/draggable/#event-drag
for a possible fix?
and enabling scrolling would always require custom changes, like
setting the container height?
TODO: Revert always flies to top-left corner of container
*/
// Attach the fancytree widget to an existing <div id="tree"> element
// and pass the tree options as an argument to the fancytree() function:
Expand Down Expand Up @@ -85,7 +85,7 @@
// cursorAt: { left: 5 },
revert: "invalid"
// revert: function(dropped) {
// return
// return
// }
},
dragStart: function(node, data) {
Expand Down Expand Up @@ -128,7 +128,7 @@

// Adjust the drop marker icon
// data.dropMarker.toggleClass("fancytree-drop-copy", copyMode);

// Show/hide the helper's copy indicator (+)
data.ui.helper.find(".fancytree-dnd-modifier").toggle(copyMode);
// tree.debug("1", $(".fancytree-active,.fancytree-selected", tree.$container).length)
Expand Down Expand Up @@ -185,7 +185,7 @@ <h1>Example: extended drag'n'drop sample</h1>
<ul>
<li>implement drag'n'drop with multiple selected nodes
<li>allow modfier keys <kbd>Ctrl</kbd> or <kbd>Alt</kbd> to force copy
instead of move operations
instead of move operations
</ul>
<b>Note:</b> Due to <a href="http://bugs.jqueryui.com/ticket/14461">a draggable issue with modifier keys in jQuery UI 1.11</a>, this sample uses jQuery UI 1.10.
</div>
Expand Down
Loading

0 comments on commit f9f1533

Please sign in to comment.