From 2e6e7ae2c55f7136af5877a5bd81b0b6cf11927f Mon Sep 17 00:00:00 2001 From: prashantsinalkar Date: Wed, 3 Jul 2019 17:54:06 +0530 Subject: added sessions for browser --- static/website/js/cloud.js | 1 + static/website/templates/index.html | 1 + 2 files changed, 2 insertions(+) (limited to 'static') diff --git a/static/website/js/cloud.js b/static/website/js/cloud.js index 9d99a3c..b8ed180 100644 --- a/static/website/js/cloud.js +++ b/static/website/js/cloud.js @@ -659,6 +659,7 @@ $(document.body).ready(function() { token: $( "[name='csrfmiddlewaretoken']" ).val(), + session_id: $("#session_id").val() || 0, code: editor.getValue(), book_id: $("#books").val() || 0, chapter_id: $("#chapters").val() || 0, diff --git a/static/website/templates/index.html b/static/website/templates/index.html index 6653442..56989ab 100644 --- a/static/website/templates/index.html +++ b/static/website/templates/index.html @@ -213,6 +213,7 @@
+ Execute -- cgit