cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CLOUDSTACK-10051) Mouse Scrolling is not working in instance VM console
Date Tue, 31 Oct 2017 09:38:00 GMT

    [ https://issues.apache.org/jira/browse/CLOUDSTACK-10051?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16226513#comment-16226513
] 

ASF GitHub Bot commented on CLOUDSTACK-10051:
---------------------------------------------

rhtyd commented on a change in pull request #2240: CLOUDSTACK-10051 Mouse Scrolling is not
working in instance VM console
URL: https://github.com/apache/cloudstack/pull/2240#discussion_r147934703
 
 

 ##########
 File path: systemvm/js/ajaxviewer.js
 ##########
 @@ -1230,6 +1230,23 @@ AjaxViewer.prototype = {
 			e.stopPropagation();
 			return false;
 		});
+
+		target.bind('mousewheel DOMMouseScroll',function(e) {
+			if(!ajaxViewer.ptInPanel(e.pageX, e.pageY))
+				return true;
+
+			var modifiers = ajaxViewer.getKeyModifiers(e);
+			var sd = e.originalEvent.detail/3;
+
+			var pt = ajaxViewer.pageToPanel(e.clientX, e.clientY);
+
 
 Review comment:
   Remove extra newline.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


> Mouse Scrolling is not working in instance VM console
> -----------------------------------------------------
>
>                 Key: CLOUDSTACK-10051
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-10051
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>            Reporter: vedula santosh
>
> When mouse is scrolled in VM Console it is not working.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message