“Click to load” fails due to JavaScript TypeError (BB-3277)

Issue #3421 resolved
Igor Kozhukhov(gmail)
created an issue

I have large commit: https://bitbucket.org/ikozhukhov/oi-build2/changeset/80b48195b4ad

could you please take a look latest files - have no preview.