Dear community,
when calling "OC.Share.loadIcons('type'); in my apps Javascript code,
$(document).ready(function() {
OC.Share.loadIcons('mytype');
}
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,
J
JOHANNES KROPF
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
[email protected]<mailto:[email protected]> |
http://www.ait.ac.at
FN: 115980 i HG Wien | UID: ATU14703506
www.ait.ac.at/Email-Disclaimer<http://www.ait.ac.at/Email-Disclaimer>
<http://www.ait.ac.at/Email-Disclaimer>
_______________________________________________
Owncloud mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/owncloud