[Silk UI Web] BindAfterAjaxRequest error

[Silk UI Web] BindAfterAjaxRequest error

  
Forge Component
(47)
Published on 11 Nov (4 weeks ago) by OutSystems Labs
47 votes
Published on 11 Nov (4 weeks ago) by OutSystems Labs
Hi guys,

I'm using a js image gallery (galleria.io) that is working with Outsystems previous themes but it's not working with the new ones (Silk).

I've got an error when I try to open the page with the new theme:

SilkUICommon.en.js?12993:358 - Uncaught TypeError: Cannot read property

'BindAfterAjaxRequest' of null (check it here 
http://mychildnowdev.com/mychildTraining/Webscreen1.aspx)

If you click here it's working just fine.

Can you help me understanding what it might be causing this behaviour?

Thanks,
Any help on this one?
I also met the same issue after upgrade Silk UI Framework to 1.3.1  and Dublin Template to 1.1.6 
At first, I met some other errors in old version, but they are also caused by BindAfterAjaxRequest. 

osAjaxBackend.BindAfterAjaxRequest(initToggle);
osAjaxBackend.BindAfterAjaxRequest(ajaxRefreshEnd);

initToggle() and ajaxRefreshEnd() return NULL.

Carlos Monteiro wrote:
Any help on this one?
 Did you add <img> tag in web block ?

I move <img> from web block and then the error gone.
 
How's that? It worked? 

Can you give me more details please?

Hi,
My previous answer may not correct. Because I still met this issue again untill I remove all the actions - 'AddStyleSheetTag', 'AddJavaScriptTag' in screen preparation.