diff --git a/static/panes/executor.js b/static/panes/executor.js index c5fb4cde7..eb0460374 100644 --- a/static/panes/executor.js +++ b/static/panes/executor.js @@ -218,6 +218,12 @@ Executor.prototype.compile = function (bypassCache) { }; Executor.prototype.compileFromEditorSource = function (options, bypassCache) { + if (!this.compiler.supportsExecute) { + this.alertSystem.notify('This compiler (' + this.compiler.name + ') does not support execution', { + group: 'execution', + }); + return; + } this.compilerService.expand(this.source).then(_.bind(function (expanded) { var request = { source: expanded || '',