diff options
author | prathamesh | 2017-09-01 17:50:14 +0530 |
---|---|---|
committer | prathamesh | 2017-09-01 17:50:14 +0530 |
commit | 82b71b1500dfee256c41f64c34c3a753d151f08e (patch) | |
tree | b0148bc65fc6a153dc04ce9d416f1ccfc4878824 /yaksh/static | |
parent | 1e3bb9e325214be0105f8b907badc84b2dbbeb91 (diff) | |
parent | 97a96d1678cb55b95ed14eb9a2b2790415d30abc (diff) | |
download | online_test-82b71b1500dfee256c41f64c34c3a753d151f08e.tar.gz online_test-82b71b1500dfee256c41f64c34c3a753d151f08e.tar.bz2 online_test-82b71b1500dfee256c41f64c34c3a753d151f08e.zip |
Merge branch 'master' of https://github.com/FOSSEE/online_test into improve-code-server
Conflicts Resolved:
.travis.yml
yaksh/views.py
Diffstat (limited to 'yaksh/static')
-rw-r--r-- | yaksh/static/yaksh/js/show_question.js | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/yaksh/static/yaksh/js/show_question.js b/yaksh/static/yaksh/js/show_question.js index e7cd817..e6825a0 100644 --- a/yaksh/static/yaksh/js/show_question.js +++ b/yaksh/static/yaksh/js/show_question.js @@ -37,7 +37,17 @@ function confirm_edit(frm) else return true; } + +function append_tag(tag){ + var tag_name = document.getElementById("question_tags"); + if (tag_name.value != null){ + tag_name.value = tag.value+", "+tag_name.value; + } + else{ + tag_name.value = tag.value; + } +} $(document).ready(function() { $("#questions-table").tablesorter({sortList: [[0,0], [4,0]]}); - });
\ No newline at end of file + }); |