alertify.js
alertify.js copied to clipboard
Not working in FireFox extension
I really like this dialog, and I'm using it in a Chrome Extension. I'm porting the Chrome Extension to a FireFox extension right now, and unfortunately, this isn't working in the FF Extension.
I believe the problem has to do with document. In FF extension, document is the browser.xul document, not the content.document containing the HTML.

I tried changing
var document = global.document, Alertify;
to
var document = content.document, Alertify;
but unfortunately this doesn't seem to solve the problem.
I don't get any more error messages, but the dialog simply isn't showing on alertify.prompt(). Unfortunately I'm no Javascript wizard, so I'm hoping someone could take a look at this, or at least point me in the right direction as to where the problem could be.
Have you tried asking on MozillaZine? I think they'd be more helpful than Github.
Not yet... I'm still trying to figure it out myself :) I'll ask over there if I really can't find it.