Skip to content

Commit

Permalink
Fixed two javascript errors, Noam should be ready to pull now
Browse files Browse the repository at this point in the history
  • Loading branch information
jtobin1 committed Aug 30, 2011
1 parent 5c2b897 commit 2fd7719
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion deme_django/modules/poll/templates/poll/approvenpoll.html
Expand Up @@ -110,6 +110,7 @@
<script type="text/javascript">
function toggleResponses(pk){
var response = "#Responses" + pk;
var button = "#hide" + pk;
if ($(response).is(":hidden")) {
$(response).slideDown("slow");
$(button).val(" Hide Responses");
Expand Down Expand Up @@ -237,7 +238,7 @@
<div id="hiddenDecisionButtons" style="margin: 4px; height 2em; display: none;">
<a class="fg-button fg-button-icon-right ui-widget ui-state-default ui-corner-all poll" href="{% url item_type_url viewer='pluralityapprovendecision',action='new'%}?populate_poll={{ item.pk }}&amp;redirect={{ full_path|urlencode }}">Make New Plurality Decision</a>
<a class="fg-button fg-button-icon-right ui-widget ui-state-default ui-corner-all poll" href="{% url item_type_url viewer='thresholdapprovendecision',action='new'%}?populate_poll={{ item.pk }}&amp;redirect={{ full_path|urlencode }}">Make New Threshold Decision</a>
<a class="fg-button fg-button-icon-right ui-widget ui-state-default ui-corner-all poll" <a class="fg-button fg-button-icon-right ui-widget ui-state-default ui-corner-all poll" href="{% url item_type_url viewer='thresholdeapprovendecision',action='new'%}?populate_poll={{ item.pk }}&amp;redirect={{ full_path|urlencode }}">Make New ThresholdE Decision</a>
<a class="fg-button fg-button-icon-right ui-widget ui-state-default ui-corner-all poll" href="{% url item_type_url viewer='thresholdeapprovendecision',action='new'%}?populate_poll={{ item.pk }}&amp;redirect={{ full_path|urlencode }}">Make New ThresholdE Decision</a>
<a class="fg-button fg-button-icon-right ui-widget ui-state-default ui-corner-all poll" onclick="toggleButtons('hiddenDecisionButtons')">Cancel</a><br><br>
</div>

Expand Down

0 comments on commit 2fd7719

Please sign in to comment.