diff options
author | holyantony | 2015-05-14 12:16:02 +0530 |
---|---|---|
committer | holyantony | 2015-05-14 12:16:02 +0530 |
commit | 1806b9d0007f2b28f38cdea65efe0f0eab72dc56 (patch) | |
tree | 6a3c1825ea2d56ce7e4287a00f69e4a6bdc0da99 /static/website/templates | |
parent | 5ab212f99c20ec6e9b00a329165051783b9fcbc5 (diff) | |
download | FOSSEE-Forum-1806b9d0007f2b28f38cdea65efe0f0eab72dc56.tar.gz FOSSEE-Forum-1806b9d0007f2b28f38cdea65efe0f0eab72dc56.tar.bz2 FOSSEE-Forum-1806b9d0007f2b28f38cdea65efe0f0eab72dc56.zip |
Subject:Fixed a small bug from last commit
Description:
Diffstat (limited to 'static/website/templates')
-rw-r--r-- | static/website/templates/new-question.html | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/static/website/templates/new-question.html b/static/website/templates/new-question.html index ed2c541..af0e34b 100644 --- a/static/website/templates/new-question.html +++ b/static/website/templates/new-question.html @@ -18,7 +18,7 @@ <div class="col-lg-3 col-md-3 col-sm-3"> {% render_field form.category class+="form-control category"%} </div> - + <!--<div class="col-lg-3 col-md-3 col-sm-3"> {% if category %} {% render_field form.tutorial class+="form-control" %} @@ -86,8 +86,10 @@ bkLib.onDomLoaded(function() { window.onload = function() { /* your code */ var c2= "{{ category }}"; - - $("#id_category").val(c2); + if(c2 != "None"){ + $("#id_category").val(c2); + } + } |