incubator-ace-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r1062265 - /incubator/ace/trunk/ace-webui-vaadin/src/main/java/org/apache/ace/webui/vaadin/VaadinClient.java
Date Sat, 22 Jan 2011 20:43:34 GMT
Author: marrs
Date: Sat Jan 22 20:43:34 2011
New Revision: 1062265

URL: http://svn.apache.org/viewvc?rev=1062265&view=rev
Log:
Fixed drag and drop to ignore drops on invalid tables.

Modified:
    incubator/ace/trunk/ace-webui-vaadin/src/main/java/org/apache/ace/webui/vaadin/VaadinClient.java

Modified: incubator/ace/trunk/ace-webui-vaadin/src/main/java/org/apache/ace/webui/vaadin/VaadinClient.java
URL: http://svn.apache.org/viewvc/incubator/ace/trunk/ace-webui-vaadin/src/main/java/org/apache/ace/webui/vaadin/VaadinClient.java?rev=1062265&r1=1062264&r2=1062265&view=diff
==============================================================================
--- incubator/ace/trunk/ace-webui-vaadin/src/main/java/org/apache/ace/webui/vaadin/VaadinClient.java
(original)
+++ incubator/ace/trunk/ace-webui-vaadin/src/main/java/org/apache/ace/webui/vaadin/VaadinClient.java
Sat Jan 22 20:43:34 2011
@@ -852,7 +852,7 @@ public class VaadinClient extends com.va
                             associateFromLeft((String) fromItemId, (String) toItemId);
                         }
                     }
-                    else {
+                    else if (tt.getSourceComponent().equals(m_right)) {
                         if (selection != null) {
                             for (Object item : selection) {
                                 System.out.println("FS: " + item);



Mime
View raw message