[refs #478] Fix frozen pls ids list

This commit is contained in:
konstantin.grabar 2012-05-24 17:41:19 +04:00
parent 0958299f51
commit 5e7a3871f4
1 changed files with 1 additions and 1 deletions

View File

@ -35,6 +35,6 @@
= f.submit t("layout.projects.build_button")
:javascript
var FROZEN_PLS = [#{ @project.repositories.map { |r| r.id if r.platform.released }.delete_if { |i| i.nil? }.join(", ") }];
var FROZEN_PLS = [#{ @project.repositories.map { |r| r.platform_id if r.platform.released }.delete_if { |i| i.nil? }.join(", ") }];
= render 'projects/base/submenu'