Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
appinventor-sources
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
xpstem
appinventor-sources
Commits
c8361fdb
Commit
c8361fdb
authored
Aug 31, 2017
by
Klomi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix emulator hard reset not working in locales other than en
parent
896ae5ef
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
appinventor/blocklyeditor/src/replmgr.js
appinventor/blocklyeditor/src/replmgr.js
+1
-1
No files found.
appinventor/blocklyeditor/src/replmgr.js
View file @
c8361fdb
...
@@ -1213,7 +1213,7 @@ Blockly.ReplMgr.ehardreset = function(formName) {
...
@@ -1213,7 +1213,7 @@ Blockly.ReplMgr.ehardreset = function(formName) {
var
context
=
this
;
var
context
=
this
;
var
dialog
=
new
Blockly
.
Util
.
Dialog
(
Blockly
.
Msg
.
REPL_DO_YOU_REALLY_Q
,
Blockly
.
Msg
.
REPL_FACTORY_RESET
,
Blockly
.
Msg
.
REPL_OK
,
Blockly
.
Msg
.
REPL_CANCEL
,
0
,
function
(
response
)
{
var
dialog
=
new
Blockly
.
Util
.
Dialog
(
Blockly
.
Msg
.
REPL_DO_YOU_REALLY_Q
,
Blockly
.
Msg
.
REPL_FACTORY_RESET
,
Blockly
.
Msg
.
REPL_OK
,
Blockly
.
Msg
.
REPL_CANCEL
,
0
,
function
(
response
)
{
dialog
.
hide
();
dialog
.
hide
();
if
(
response
==
"
OK
"
)
{
if
(
response
==
Blockly
.
Msg
.
REPL_OK
)
{
context
.
hardreset
(
formName
,
function
()
{
context
.
hardreset
(
formName
,
function
()
{
var
xhr
=
goog
.
net
.
XmlHttp
();
var
xhr
=
goog
.
net
.
XmlHttp
();
xhr
.
open
(
"
GET
"
,
"
http://localhost:8004/emulatorreset/
"
,
true
);
xhr
.
open
(
"
GET
"
,
"
http://localhost:8004/emulatorreset/
"
,
true
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment