Edit code of a Phase DONE

This commit is contained in:
Luis Fernando Molina committed 2019-05-08 17:09:31 +02:00
1 parent 9ded6a86d8
commit 6b68043186
1 file changed
+6 -2
+6 -2
View File
@@ -183,11 +183,16 @@ function newStrategyPart () {
break
}
case 'Phase': {
imagePath = 'Images/icons/style-01/testing.png'
thisObject.codeEditor = newCodeEditor()
thisObject.codeEditor.initialize()
thisObject.codeEditor.container.connectToParent(thisObject.container, false, false, true, true, false, false, false, false)
imagePath = 'Images/icons/style-01/placeholder.png'
menuItemsInitialValues = [
{
action: 'Edit Code',
actionFunction: thisObject.payload.onMenuItemClick,
actionFunction: thisObject.codeEditor.activate,
label: 'Edit Code',
visible: false,
imagePathOn: 'Images/icons/style-01/html.png',
@@ -535,4 +540,3 @@ function newStrategyPart () {
}
}
}