Buttons "True" and "False" are not appearing
<p>My "True" and "False" buttons are not appearing.</p>

<p>Here is a <a href="http://helios.hud.ac.uk/u0867587/Mobile_app/Text16.php" rel="nofollow">demo</a> I have set up so you can see what is happening. Below are some steps to follow:</p>

<ul>
<li>Step 1: When you open the demo. Click on the green plus button on the left hand side an a
modal window will appear</li>
<li>Step 2: In the search bar type in "True" and submit the search.</li>
<li>Step 3: You will see a row appear, click on the "Add" button next to
the row.</li>
</ul>

<p>As you can see on the right hand side in the "Answer" section that it is blank, it is suppose to display buttons "True" and "False". Does anyone know why these 2 buttons are not appearing?</p>

<p>Below is the code which handles the "Add" button when clicked and where it should hide and show the features:</p>

<pre><code>    function addwindow(questionText,textWeight,numberAnswer,gridValues,reply,btn) { 

        if(btn=="True" || btn=="False"){
            var answers = '#answer'+btn;
        } else {
            var answers = $.map(btn.split(''),function(chr){   return "#answer"+chr;  }).join(', ');
        }

        var myNumbers = {};
        myNumbers["True or False"] = "True or False";

        gridValues = myNumbers[gridValues];

        if($(plusbutton_clicked).attr('id')=='mainPlusbutton') { 

            if( gridValues != "True or False" ) {
                $('#mainNumberAnswerTxt').show();
                $('#mainNa').hide();
                $('#mainBtnsAll').show();
                $('#mainBtnsRemove').show();
            } else{
                $('#mainNumberAnswerTxt').hide();
                $('#mainNa').show();
                $('#mainBtnsAll').hide();
                $('#mainBtnsRemove').hide();
            }

$('#mainGridTxt').val(gridValues).parent().append($('.optionTypeTbl'));
        $('#btn' + gridValues).trigger('click');
        }    

        $.modal.close(); 
        return false;
    }
</code></pre>

<p>Please look at view source of demo to see full code.</p>
