Fix bug Bug 935145 - Pop-up type field is empty

https://bugzilla.mozilla.org/show_bug.cgi?id=935145