@@ -75,7 +75,7 @@ function onInstall(e) {
75
75
* configuring the notifications this add-on will produce.
76
76
*/
77
77
function showSidebar ( ) {
78
- var ui = HtmlService . createHtmlOutputFromFile ( 'Sidebar ' )
78
+ var ui = HtmlService . createHtmlOutputFromFile ( 'sidebar ' )
79
79
. setTitle ( 'Form Notifications' ) ;
80
80
FormApp . getUi ( ) . showSidebar ( ui ) ;
81
81
}
@@ -85,7 +85,7 @@ function showSidebar() {
85
85
* this add-on.
86
86
*/
87
87
function showAbout ( ) {
88
- var ui = HtmlService . createHtmlOutputFromFile ( 'About ' )
88
+ var ui = HtmlService . createHtmlOutputFromFile ( 'about ' )
89
89
. setWidth ( 420 )
90
90
. setHeight ( 270 ) ;
91
91
FormApp . getUi ( ) . showModalDialog ( ui , 'About Form Notifications' ) ;
@@ -220,7 +220,7 @@ function sendReauthorizationRequest() {
220
220
if ( lastAuthEmailDate != today ) {
221
221
if ( MailApp . getRemainingDailyQuota ( ) > 0 ) {
222
222
var template =
223
- HtmlService . createTemplateFromFile ( 'AuthorizationEmail ' ) ;
223
+ HtmlService . createTemplateFromFile ( 'authorizationEmail ' ) ;
224
224
template . url = authInfo . getAuthorizationUrl ( ) ;
225
225
template . notice = NOTICE ;
226
226
var message = template . evaluate ( ) ;
@@ -255,7 +255,7 @@ function sendCreatorNotification() {
255
255
var addresses = settings . getProperty ( 'creatorEmail' ) . split ( ',' ) ;
256
256
if ( MailApp . getRemainingDailyQuota ( ) > addresses . length ) {
257
257
var template =
258
- HtmlService . createTemplateFromFile ( 'CreatorNotification ' ) ;
258
+ HtmlService . createTemplateFromFile ( 'creatorNotification ' ) ;
259
259
template . summary = form . getSummaryUrl ( ) ;
260
260
template . responses = form . getResponses ( ) . length ;
261
261
template . title = form . getTitle ( ) ;
@@ -288,7 +288,7 @@ function sendRespondentNotification(response) {
288
288
. getResponse ( ) ;
289
289
if ( respondentEmail ) {
290
290
var template =
291
- HtmlService . createTemplateFromFile ( 'RespondentNotification ' ) ;
291
+ HtmlService . createTemplateFromFile ( 'respondentNotification ' ) ;
292
292
template . paragraphs = settings . getProperty ( 'responseText' ) . split ( '\n' ) ;
293
293
template . notice = NOTICE ;
294
294
var message = template . evaluate ( ) ;
0 commit comments