Closed jwulf closed 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....
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.
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....