diff options
author | Jayaram Pai | 2013-12-27 04:26:10 +0530 |
---|---|---|
committer | Jayaram Pai | 2013-12-27 04:26:10 +0530 |
commit | 4fc8de24f4e26719ddb043f4779cdbc9914475bb (patch) | |
tree | 1c5c6b0a85d8bff064c2150cbae4dc17c99d4ea6 /static/website/js/cloud.js | |
parent | 06e73e7cd1c99ce224ee594b1e11129bc9a4e422 (diff) | |
download | scilab-on-cloud-4fc8de24f4e26719ddb043f4779cdbc9914475bb.tar.gz scilab-on-cloud-4fc8de24f4e26719ddb043f4779cdbc9914475bb.tar.bz2 scilab-on-cloud-4fc8de24f4e26719ddb043f4779cdbc9914475bb.zip |
basic code execution implemented.
thanks to prathamesh920 for mode(2)
thanks for jayparikh111 for reporting syntax error bug
thanks to saketkc for !--error-2 suggestion
Diffstat (limited to 'static/website/js/cloud.js')
-rw-r--r-- | static/website/js/cloud.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/static/website/js/cloud.js b/static/website/js/cloud.js index 1b64532..644d7fd 100644 --- a/static/website/js/cloud.js +++ b/static/website/js/cloud.js @@ -88,6 +88,7 @@ $(document).ready(function() { $("#execute").click(function() { var csrfmiddlewaretoken = $("[name='csrfmiddlewaretoken']").val(); var code = editor.getValue(); + $("body").css("cursor", "wait"); $.ajax({ url:"/ajax-execute/", type: "POST", @@ -97,6 +98,7 @@ $(document).ready(function() { }, dataType: "text", success: function(data) { + $("body").css("cursor", "auto"); result.setValue(data); } }); |