修改作业提交项目时默认问空
This commit is contained in:
parent
d19bf06da4
commit
23da0a6dad
|
@ -60,7 +60,7 @@ module HomeworkAttachHelper
|
||||||
memberships = User.current.memberships.all(:conditions => cond)
|
memberships = User.current.memberships.all(:conditions => cond)
|
||||||
projects = memberships.map(&:project)
|
projects = memberships.map(&:project)
|
||||||
not_have_project = []
|
not_have_project = []
|
||||||
not_have_project << "NO PROJECT"
|
not_have_project << ""
|
||||||
not_have_project << 0
|
not_have_project << 0
|
||||||
type = []
|
type = []
|
||||||
type << not_have_project
|
type << not_have_project
|
||||||
|
|
Loading…
Reference in New Issue