Fix bug.
This commit is contained in:
parent
8db03faa6b
commit
cd418d31e9
|
@ -60,7 +60,7 @@
|
|||
<button id="clickall"><%= (I18n.locale.to_s == "zh_tw") ? "全選" : "select all" %></button>
|
||||
<button id="unclickall"><%= (I18n.locale.to_s == "zh_tw") ? "取消全選" : "unselect all" %></button>
|
||||
<%
|
||||
default_file_show = @file_to_show..fields['file_show'].options[:default]
|
||||
default_file_show = @file_to_show.fields['file_show'].options[:default]
|
||||
if @file_to_show.file_show.count != default_file_show.count
|
||||
@file_to_show.file_show = default_file_show
|
||||
@file_to_show.save
|
||||
|
|
Loading…
Reference in New Issue