From d5332431f7c042e7e16183f76dee70269bbebded Mon Sep 17 00:00:00 2001 From: mahesh Date: Thu, 3 Aug 2017 02:07:47 +0530 Subject: Modifies UI for questions section --- yaksh/static/yaksh/js/show_question.js | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'yaksh/static') diff --git a/yaksh/static/yaksh/js/show_question.js b/yaksh/static/yaksh/js/show_question.js index e3ed1cc..7cfbf4c 100644 --- a/yaksh/static/yaksh/js/show_question.js +++ b/yaksh/static/yaksh/js/show_question.js @@ -37,3 +37,7 @@ function confirm_edit(frm) else return true; } +$(document).ready(function() + { + $("#questions-table").tablesorter({sortList: [[]]}); + }); \ No newline at end of file -- cgit From 67f3119a2e27673694db907d21f501bc8247fce1 Mon Sep 17 00:00:00 2001 From: mahesh Date: Wed, 16 Aug 2017 18:28:26 +0530 Subject: Adds ruamel.yaml instead of pyyaml - Preserves escape characters - Adds ruamel.yaml in requirements --- yaksh/static/yaksh/js/show_question.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'yaksh/static') diff --git a/yaksh/static/yaksh/js/show_question.js b/yaksh/static/yaksh/js/show_question.js index 7cfbf4c..e7cd817 100644 --- a/yaksh/static/yaksh/js/show_question.js +++ b/yaksh/static/yaksh/js/show_question.js @@ -39,5 +39,5 @@ function confirm_edit(frm) } $(document).ready(function() { - $("#questions-table").tablesorter({sortList: [[]]}); + $("#questions-table").tablesorter({sortList: [[0,0], [4,0]]}); }); \ No newline at end of file -- cgit