Hi

When I change the web context of DS, gadgets don't import the javascript
code. There is a "/" at the beginning of the src value of the highlighted
text(Red) which then calls the url https://10.100.0.170:9443/
gadgets/concat?rewriteMime=text/javascript... in order to load needed
javascript code. But the actual url should be https://10.100.0.170:9443/ds/
gadgets/concat?rewriteMime=text/javascript.... i.e. we need to remove the
"/" at the beginning for the proper operation. So the correct src value
shoud be something like

scr="gadgets/concat?rewriteMime=text/javascript...".

<iframe .. src="https://10.100.0.170:9443/ds/ifr?container=defaul...";>
    <html>
        <head>...</head>
        <body dir="ltr">
            <script type="text/javascript" src="
/gadgets/concat?rewriteMime=text/javascript..."></script>
            .....
            .....
        </body>
    </html>
</iframe>

If this a common issue in other products if not any idea how to fix this? :)


Regards,
Amani
_______________________________________________
Carbon-dev mailing list
[email protected]
https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev

Reply via email to