Skip to content

Commit

Permalink
Fixed introduced bug in LFE with updating series and tags.
Browse files Browse the repository at this point in the history
  • Loading branch information
lethain committed Jun 11, 2008
1 parent ebd3481 commit 291397e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion templates/lifeflow/editor/article_flows.html
Expand Up @@ -22,7 +22,7 @@
<div class="breadcrumbs">
<span><a href="../title/">Title & Summary</a> </span>
<span> <a href="../body/">Body & Files</a> </span>
<span class="selected">Flows </span>
<span class="selected"> Flows </span>
<span> <a href="../tags/">Tags</a> </span>
<span> <a href="../series/">Series</a> </span>
<span> <a href="../options/">Date & Options</a> </span>
Expand Down
4 changes: 2 additions & 2 deletions templates/lifeflow/editor/article_series.html
Expand Up @@ -36,7 +36,7 @@
delete_model("series",pk);
var id = "#series_" + pk;
$(id).fadeOut('slow');
$("#select_" + pk).fadeOut('slow');
$(pk).fadeOut('slow');
}
</script>

Expand All @@ -46,7 +46,7 @@
<p> Click on the series that this article should appear in. </p>
<div id="selectables" class="selectables">
{% for serie, selected in series %}
<a id="select_{{ serie.pk }}" class="selectable {% if selected %} selected{% endif %}" id="{{ serie.pk }}"> {{ serie.title }}</a>
<a id="{{ serie.pk }}" class="selectable {% if selected %} selected{% endif %}" id="{{ serie.pk }}"> {{ serie.title }}</a>
{% endfor %}
</div>
</li>
Expand Down
4 changes: 2 additions & 2 deletions templates/lifeflow/editor/article_tags.html
Expand Up @@ -30,7 +30,7 @@
delete_model("tag",pk);
var id = "#tag_" + pk;
$(id).fadeOut('slow');
$("#select_" + pk).fadeOut('slow');
$(pk).fadeOut('slow');
}
</script>

Expand All @@ -41,7 +41,7 @@

<div id="selectables" class="selectables">
{% for tag, selected in tags %}
<a id="select_{{ tag.pk}}" class="selectable {% if selected %} selected{% endif %}" id="{{ tag.pk }}"> {{ tag.title }}</a>
<a class="selectable {% if selected %} selected{% endif %}" id="{{ tag.pk }}"> {{ tag.title }}</a>
{% endfor %}
</div>
</li>
Expand Down

0 comments on commit 291397e

Please sign in to comment.