Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to change the ICON of the reload button #5

Open
kishanoranw opened this issue Jul 12, 2016 · 1 comment
Open

How to change the ICON of the reload button #5

kishanoranw opened this issue Jul 12, 2016 · 1 comment

Comments

@kishanoranw
Copy link

When i am using the Reload Button Extension in Qlik sense, i am geting this icon circled in red:
reload

I want to change the icon of the Reload button to something like this :
reload_btn

@mhamano
Copy link
Owner

mhamano commented Jul 25, 2016

Hi,

The easiest way is modifying the code in ReloadButton.js as follows. Following example show the image file named "reload_btn.png" placed on the default content library.

-existing code

           // Display Extension Visualization
            var html = html = '<a href="#" id="modal-open" class="btn btn-primary">Reload</a>'; 

-modified coded

            var url = '/content/default/reload_btn.png';
           var html = '<a href="#" id="modal-open" >' + '<img style="width:100%" src="' + url + '">' + '</a>';

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants