SanomaCZ / ella-hope

Brand new admin for Ella 3+
Other
3 stars 0 forks source link

just-now-uploaded photo is not inserted into article #16

Closed yedpodtrzitko closed 11 years ago

yedpodtrzitko commented 11 years ago

steps to reproduce:

1) open form to add a new article 2) click add photo button 3) upload some photo 4) choose this photo and click insert

current result: photo is not inserted into the article

expected result: photo is inserted into the article

mrpohoda commented 11 years ago

This works for me. What happens if you click insert? Does dialog disappears? Is there any error in console?

yedpodtrzitko commented 11 years ago

yes - modal window is closed and there's no error in console .(

yedpodtrzitko commented 11 years ago

current debug status:

The condition below (it's in create-article.js) doesn't suceed, because data is empty object for freshly added photo. Not sure why. if (data && data.title) {

yedpodtrzitko commented 11 years ago

there appears one error but it's not related - I get the same result every time, even if there's no error. www.youtube.com/watch?v=tZBiXIiWQBY