[editor] Prevent JS error on Ace resize
var resizeAce = function () {
window.setTimeout(function () {
+ try {
editor.resize(true);
+ } catch (e) {
+ // Can happen when the editor hasn't been initialized
+ }
}, 0);
};
