Skip to content
Permalink
Browse files

Blockly fix

* Blockly set timer code fix
  • Loading branch information...
sergejey committed Apr 12, 2019
1 parent 8a1ca51 commit 49171c9c56a4d98d01372dcfa4505ca91c7b055d
Showing with 2 additions and 1 deletion.
  1. +2 −1 3rdparty/blockly/index.php
@@ -74,7 +74,8 @@ function saveCode() {
var xmlText = Blockly.Xml.domToPrettyText(xmlDom);
var elem1=doc.getElementById('<?php echo $_GET['code_field'];?>');
elem1.value=code;
var newCode = code.replace(/\n\s+EOT;/,"\nEOT;");
elem1.value=newCode;
var elem2=doc.getElementById('xml_code');
elem2.value=xmlText;

0 comments on commit 49171c9

Please sign in to comment.
You can’t perform that action at this time.