Skip to content

Commit

Permalink
Modified: Editor2Flow
Browse files Browse the repository at this point in the history
  • Loading branch information
snext1220 committed Aug 8, 2021
1 parent d3126d7 commit 3161b8a
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
3 changes: 2 additions & 1 deletion playground/lib/playground.js
Original file line number Diff line number Diff line change
Expand Up @@ -3542,13 +3542,14 @@ ${Util.createLinkText(value.id, scenario.edges)}

// Editorへの遷移
$('#ctrl_flow2editor').click(function(){
$('body').css('opacity', 0.2);
localStorage['flow2editor'] = Util.createXml();
window.open('./editor.html', 'pgeditor');
});

// ページ移動時の警告
$(window).on('beforeunload', function(){
return "ページを閉じてもよろしいですか?";
return "ページを閉じてもよろしいですか?";
});

// TIPS表示
Expand Down
2 changes: 1 addition & 1 deletion playground/lib/playground.min.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions playground/lib/playground_editor.js
Original file line number Diff line number Diff line change
Expand Up @@ -301,6 +301,7 @@ $(function() {

// Editor2Flow
$('#pg_editor2flow').click(function(e){
$('body').css('opacity', 0.2);
localStorage['editor2flow'] = editor.getValue();
window.open('./', 'pgflow');
});
Expand Down
2 changes: 1 addition & 1 deletion playground/lib/playground_editor.min.js

Large diffs are not rendered by default.

0 comments on commit 3161b8a

Please sign in to comment.