Hello again,

I'm writting this because I thing this is another error that has nothing to do with previous I have reported.

Javascript is failing because rave is not initializated.



<script>
    rave.init();
    rave.RegionWidget.defaultView = 'home';

    $(function() {
        rave.initPageEditorStatus(true);
        rave.layout.init();
        rave.renderWidgets('home');
    });
</script>
<script>rave.models.currentPage.set({id: 1, ownerId: 1, viewerId: 1}, 
{silent:true})</script>
<script>rave.models.currentPage.addInitData('1', true)</script>



I red is what's failing. I've seen some e-mails about refactoring javascript initialization to use AMD. I've seen the code and seems to be in place.
Bootstrap is done in previous script:



<script>
    require(["rave", "jquery", "bootstrap"], function (rave, $) {
rave.setContext("/level2-rave-overlay-portal/app/"); rave.setDefaultHeight(250); rave.setViewer({username: "gaguilar", id: "1"});
        $(function(){
            rave.init();
        });

        rave.setDebugMode(1);
    });
</script>


I don't know if this is working well and rave.init() got called but it seems 
it's not to me. Also the core of rave does not seem to be called.

I'm using an old version artifact project upgraded to use version 0.23-SNAPSHOT 
maybe this has something to do.


Does it work for you?


Best regards,


Reply via email to