gista/summer-cesta-snp — comment on commit 27883d9aae4e89c9623195efbd591462f364b413
File: djcode/snppath/static/js/window.js line 59
By lOlIl:

Ext.DomHelper.append can't work because the id 'photo_jos' is lazy rendering and will be added after popup is showed.

In Ajax request It works, because the window is already rendered.