spun off of bug 77080. When opening CSS/JS files in editor, we get the "Can't edit this type of file" alert and then the window closes. Perhaps we should just open them the way we would text/plain?
Once bug 77080 is fixed, this becomes a very small and simple patch. Adding dependency and will attach the patch in question.
17 years ago
with Simon cc'ed on this one, I am reassigning to Boris, since he has the patch for this already
I haven't tested this patch so I could be wrong. I'm concerned that other parts of the editor won't handle these types of files correctly. How much testing has been done with this? Does "save" work correctly?
Saving of text files is already broken: bug 47640.
Adding dependency on bug 47640 since until that's fixed this one is impossible to test...
I should note that barring bug 47640 "save" does work correctly. I'll test this some more once 47640 is fixed.
Fixes checked in.
I fixed this; it needed more than the patch in this bug (to handle RDF and XUL, at least). But thanks for the patch!
Boris, is this working for you now?
Oops. I thought I'd verified this one. :) verified.