fnp
/
redakcja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' into view-refactor
[redakcja.git]
/
project
/
templates
/
explorer
/
editor.html
diff --git
a/project/templates/explorer/editor.html
b/project/templates/explorer/editor.html
index
c743308
..
d3c5196
100644
(file)
--- a/
project/templates/explorer/editor.html
+++ b/
project/templates/explorer/editor.html
@@
-27,8
+27,8
@@
{# JavaScript templates #}
<script type="text/html" charset="utf-8" id="panel-container-view-template">
<select>
{# JavaScript templates #}
<script type="text/html" charset="utf-8" id="panel-container-view-template">
<select>
- <% for (
var i = 0; i < panels.length; i++
) { %>
- <option value="<%=
i %>"><%= panels[i].name
%></option>
+ <% for (
panel in panels
) { %>
+ <option value="<%=
panel %>"><%= panel
%></option>
<% }; %>
</select>
<div class="content-view"></div>
<% }; %>
</select>
<div class="content-view"></div>