diff options
author | mahesh | 2017-06-09 16:13:24 +0530 |
---|---|---|
committer | mahesh | 2017-06-14 12:45:07 +0530 |
commit | 3d43d3d423f6589688ba313ca961360280157543 (patch) | |
tree | 80403cdc82ae247931356377d96904a6e35dc456 /yaksh/static | |
parent | a37b9b082ef9c89bd8f06844afad5db691e25995 (diff) | |
download | online_test-3d43d3d423f6589688ba313ca961360280157543.tar.gz online_test-3d43d3d423f6589688ba313ca961360280157543.tar.bz2 online_test-3d43d3d423f6589688ba313ca961360280157543.zip |
searches for tagged questions
Diffstat (limited to 'yaksh/static')
-rw-r--r-- | yaksh/static/yaksh/js/show_question.js | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/yaksh/static/yaksh/js/show_question.js b/yaksh/static/yaksh/js/show_question.js index e3ed1cc..a154558 100644 --- a/yaksh/static/yaksh/js/show_question.js +++ b/yaksh/static/yaksh/js/show_question.js @@ -37,3 +37,13 @@ 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; + } +} |