Commit 2fee2ba6 authored by carlosperate's avatar carlosperate

updated electron with changes from file saving

parent efaae05b
...@@ -103,7 +103,7 @@ var getFileMenuData = function() { ...@@ -103,7 +103,7 @@ var getFileMenuData = function() {
type: 'info', type: 'info',
title: 'Dialog', title: 'Dialog',
buttons: ['ok',], buttons: ['ok',],
message: 'This functionality has not yet been '+ message: 'This functionality has not yet been '+
'implemented in the window menu.\nYou can ' + 'implemented in the window menu.\nYou can ' +
'still open a blocks file using the "Open" ' + 'still open a blocks file using the "Open" ' +
'button on the main interface.' 'button on the main interface.'
...@@ -115,7 +115,7 @@ var getFileMenuData = function() { ...@@ -115,7 +115,7 @@ var getFileMenuData = function() {
click: function() { click: function() {
BrowserWindow.getFocusedWindow() BrowserWindow.getFocusedWindow()
.webContents .webContents
.executeJavaScript('Ardublockly.saveXmlFileAs()'); .executeJavaScript('Ardublockly.saveXmlFile()');
} }
}, { }, {
label: 'Save Arduino Sketch as', label: 'Save Arduino Sketch as',
...@@ -124,7 +124,7 @@ var getFileMenuData = function() { ...@@ -124,7 +124,7 @@ var getFileMenuData = function() {
BrowserWindow.getFocusedWindow() BrowserWindow.getFocusedWindow()
.webContents .webContents
.executeJavaScript( .executeJavaScript(
'Ardublockly.saveSketchFileAs()'); 'Ardublockly.saveSketchFile()');
} }
} }
] ]
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment