jwulf / press-star

A node-based implementation of the popular Death Star authoring environment for PressGang / Docbook
4 stars 1 forks source link

Injecting snippet causes topic reload #34

Closed jwulf closed 11 years ago

jwulf commented 11 years ago

Injecting a snippet causes a reload confirmation dialog. If you hit cancel it reloads the topic. If you hit "confirm reload" it doesn't.

That dialog should not appear, and the topic should not reload on snippet injection - and even if it should, that dialog response is backward....

jwulf commented 11 years ago

I was not overriding the click event handler in the inject template menu option, so it was causing a window pop state event to fire.