Subversion Repository Public Repository

litesoft

Diff Revisions 150 vs 151 for /trunk/Java/GWT/Client/src/org/litesoft/GWT/client/widgets/nonpublic/external/MouseDragHandler.java

Diff revisions: vs.
  @@ -25,8 +25,7 @@
25 25 */
26 26 public class MouseDragHandler extends MouseHandlerAdaptor
27 27 {
28 - private static MouseDragHandlerImpl s_Impl =
29 - (MouseDragHandlerImpl) GWT.create( MouseDragHandlerImpl.class );
28 + private static MouseDragHandlerImpl s_Impl = (MouseDragHandlerImpl) GWT.create( MouseDragHandlerImpl.class );
30 29
31 30 private DragGesture m_dragGesture;
32 31 private MouseEvent m_mouseDown = null;
  @@ -123,8 +122,14 @@
123 122 {
124 123 @Override
125 124 public native void onMouseDown( Event event ) /*-{
126 - $doc.body.onselectstart = function() { return false; };
127 - $doc.body.ondragstart = function() { return false; };
125 + $doc.body.onselectstart = function()
126 + {
127 + return false;
128 + };
129 + $doc.body.ondragstart = function()
130 + {
131 + return false;
132 + };
128 133 }-*/;
129 134
130 135 @Override