From 9492133cbd5a9a2ae2849b2b6faefb8c2c04b9db Mon Sep 17 00:00:00 2001 From: prashantsinalkar Date: Fri, 13 Sep 2019 14:43:41 +0530 Subject: updated js --- website/static/website/js/cloud.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/website/static/website/js/cloud.js b/website/static/website/js/cloud.js index e762429..9aa3d87 100644 --- a/website/static/website/js/cloud.js +++ b/website/static/website/js/cloud.js @@ -87,6 +87,7 @@ $(document.body).ready(function() { $toggle_code = $("#toggle-code"); $fullscreen_code.click(function(e) { + alert("Press escape to exit from fullScreen mode"); editor.setOption("fullScreen", !editor.getOption( "fullScreen")); editor.focus(); @@ -106,6 +107,7 @@ $(document.body).ready(function() { $toggle_result = $("#toggle-result"); $fullscreen_result.click(function(e) { + alert("Press escape to exit from fullScreen mode"); result.setOption("fullScreen", !result.getOption( "fullScreen")); result.focus(); @@ -755,7 +757,9 @@ $(document.body).ready(function() { /****** Bug form handling *******************/ /********************************************/ $(document).on("click", "#bug", function(e) { - + alert("This form is under development"); + $("#bug_form_wrapper").modal('hide'); + return false; $.ajax({ url: 'get_bug_form/', dataType: 'JSON', -- cgit