Fix redundant warning when switching from html to text in empty editor (#1489819)
We also skip ajax request in such a case. We assume "empty" here means "with no text excluding whitespace".

Conflicts:

	program/js/app.js