Since the beginning of this month this code has not more been working
function onEdit(e){
var html = HtmlService.createTemplateFromFile( 'MyHtmlFile' )
.evaluate()
.setWidth( 800 )
.setHeight( 400 );
SpreadsheetApp.getUi() // Or DocumentApp or FormApp.
.showModalDialog( html, 'My page title' );
}
When I edit a Spreadsheet's cell NO pop up is shown but I got this error in the console:
Google Apps Script: You do not have permission to call showModalDialog
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…