From e1f467bd5e366ed8b16bd71b66338a7b42fda72a Mon Sep 17 00:00:00 2001 From: adityacp Date: Mon, 2 Jan 2017 15:29:43 +0530 Subject: Add minor template change in questions --- yaksh/static/yaksh/js/add_question.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'yaksh/static') diff --git a/yaksh/static/yaksh/js/add_question.js b/yaksh/static/yaksh/js/add_question.js index e435dde..8ca22eb 100644 --- a/yaksh/static/yaksh/js/add_question.js +++ b/yaksh/static/yaksh/js/add_question.js @@ -76,8 +76,9 @@ function textareaformat() document.getElementById('id_type').setAttribute('class','select-type'); document.getElementById('id_points').setAttribute('class','mini-text'); document.getElementById('id_tags').setAttribute('class','tag-text'); - - + $("[id*="+'test_case_args'+"]").attr('placeholder', + 'Command Line arguments for bash only'); + $('#id_snippet').bind('keydown', function( event ){ if(navigator.userAgent.match("Gecko")) { -- cgit