Vojtech Szocs has posted comments on this change.

Change subject: webadmin: Allowed non-draggable NetworkItemPanel
......................................................................


Patch Set 2:

(1 comment)

....................................................
File 
frontend/webadmin/modules/webadmin/src/main/java/org/ovirt/engine/ui/webadmin/section/main/view/popup/host/panels/NetworkItemPanel.java
Line 138: 
Line 139:         }, ContextMenuEvent.getType());
Line 140: 
Line 141:         // drag start
Line 142:         addBitlessDomHandler(new DragStartHandler() {
Looking at GWT implementation, it looks like 
getElement().setDraggable(DRAGGABLE_FALSE) translates to element.draggable = 
"false" (adds draggable="false" to DOM element).

Not sure why Firefox reverts that to "true", according to 
http://stackoverflow.com/questions/6712653/whats-the-proper-way-to-declare-an-attribute-to-be-false
 it should honor "false" as valid draggable attribute value.

Anyway, this isn't that important.. thanks for addressing the comment.
Line 143:             @Override
Line 144:             public void onDragStart(DragStartEvent event) {
Line 145:                 if (!draggable) {
Line 146:                     return;


-- 
To view, visit http://gerrit.ovirt.org/19694
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: I0f130803ce2403cc26297ec8d06ef62d23837b96
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Lior Vernia <[email protected]>
Gerrit-Reviewer: Lior Vernia <[email protected]>
Gerrit-Reviewer: Vojtech Szocs <[email protected]>
Gerrit-Reviewer: oVirt Jenkins CI Server
Gerrit-HasComments: Yes
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to