6174 / 6174/pagedown

Prompt background does not disappear after 2nd try

Aperta
#31 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
auto-migrated Priority-Medium Type-Defect
Lingua principale
JavaScript
Stelle
0
Fork
0
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

```
When clicking the image button, the wmd-prompt-background appears. If the image
insert is canceled using callback(null); in JavaScript, then the background
disappears. However, if the user clicks the image button again, the
wmd-prompt-background will appear again, but whether callback(null); or
callback("http://someurlhere.com/photo.jpg"); is used, the background will not
disappear.

The JavaScript Console shows at this time "Uncaught TypeError: Cannot call
method 'removeChild' of null" in Markdown.Editor.js line 1684.

I have attached the trace that the browser's console provides. The browser
version is Google Chrome 20.0.1132.57 m on Windows XP.
```

Original issue reported on code.google.com by `johngti...@gmail.com` on 25 Jul 2012 at 11:06

Attachments:
- [trace.txt](https://storage.googleapis.com/google-code-attachments/pagedown/issue-31/comment-0/trace.txt)

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.