GitHub user lygutas opened a pull request:

    https://github.com/apache/cloudstack/pull/1655

    Fix ajaxviewer.js to solve console on Firefox

    Mozilla Firefox displays white tile in place of cursor. The reason - 
function isImageLoaded() always returns true after first load and function 
checkUpdate() reloads too fast. 
    Suggested fix - in refresh() method state imageLoaded should be reverted to 
false. This ensures that function checkUpdate() processes only when tile image 
is loaded.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/lygutas/cloudstack patch-1

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/cloudstack/pull/1655.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #1655
    
----
commit 4be72489e2c4c0e290f6d151506e5019590b24ce
Author: Tomas Lygutas <tomas.lygu...@oxid-esales.com>
Date:   2016-08-23T07:44:41Z

    Fix ajaxviewer.js to solve console on Firefox
    
    Mozilla Firefox displays white tile in place of cursor. The reason - 
function isImageLoaded() always returns true after first load and function 
checkUpdate() reloads too fast. 
    Suggested fix - in refresh() method state imageLoaded should be reverted to 
false. This ensures that function checkUpdate() processes only when tile image 
is loaded.

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to