Share API icons

Previous Topic Next Topic
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

Share API icons

Dear community,

when calling "OC.Share.loadIcons('type'); in my apps Javascript code,

$(document).ready(function() {

the icons are not shown initially when the page gets loaded. It seems to work only if an ajax request of the share api has been made. Should mean, when I add something to click on between the anchor tags and load the share dropdown, the right icon is shown afterwards.

I checked out also the "calendar" app and its share features, there the icons are added manually via the php script.
I guess that is not the desired solution.

Any advices?

Kind regards,

Health & Environment Department
Biomedical Systems

AIT Austrian Institute of Technology GmbH
Viktor Kaplan Stra├če 2  |  2700 Wiener Neustadt  |  Austria
T +43(0) 50550-4845  |  M +43(0) 664 235 1732  |  F +43(0) 50550-4803
[hidden email]

FN: 115980 i HG Wien  |  UID: ATU14703506

Owncloud mailing list
[hidden email]