I am not sure, if it's a AG Helper problem or some other (old?) jquery problem - or some problem with my code. In the latter case I would not know what I did wrong, as there is no concole error pointing to my code.
Please see the attached image 1: The application icon is changed, even on a custom page (like I would expect it to). Now, I created a new custom page where the AG Helper does not change the image automatically - but when I copy the following code to the console - the icon is changed. On this custom page I am using the library from momentjs.com that comes with AG ans which is included by default as it seems, to do some date calculations.
Code: Select all
var url="/someimage.png"
new AppGiniCommon()
.setTitle("<b>MyAppTitle</b>")
.setImage(url);Â
The AGHelper is referenced in the /hooks/header-extras.php like this:
Code: Select all
<script src="hooks/AppGiniHelper.min.js"></script>
<script>
//appgini helper
//Adjust application image and title
var url="/someimage.png"
new AppGiniCommon()
.setTitle("<b>MyAppTitle</b>")
.setImage(url);Â
</script>
Olaf