Skip to content

TagSpaces is an offline, open source, document manager with tagging support

Drag & Drop tag issue fixed

uggrock0c4524f6bba5
diff --git a/data/about.html b/data/about.html
index d6a8af98c..214e6eb83 100644
--- a/data/about.html
+++ b/data/about.html
@@ -1,7 +1,7 @@
<html>
<head>
<!--
- Copyright (c) 2012 The Tagspaces Authors. All rights reserved.
+ Copyright (c) 2012-2013 The Tagspaces Authors. All rights reserved.
Use of this source code is governed by a AGPL3 license that can be
found in the LICENSE file.
-->
diff --git a/data/js/fileopener.js b/data/js/fileopener.js
index 477b0a028..6b2365a1c 100644
--- a/data/js/fileopener.js
+++ b/data/js/fileopener.js
@@ -167,12 +167,14 @@ define(function(require, exports, module) {
};
$( "#tagsContainer" ).droppable({
+ greedy: "true",
accept: ".tagButton",
hoverClass: "activeRow",
drop: function( event, ui ) {
var tagName = ui.draggable.attr("tag");
console.log("Tagging file: "+tagName+" to "+filePath);
TSCORE.TagUtils.addTag([filePath], [tagName]);
+ $(ui.helper).remove();
}
})