Update the new custom field form with remotely.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10163 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
1 parent
1749fbf3e6
commit
599736aca7
6 files changed
+52
-98
No files matched your search
@@ -261,6 +261,10 @@ class CustomField < ActiveRecord::Base
|
||||
validate_field_value(value).empty?
|
||||
end
|
||||
|
||||
def format_in?(*args)
|
||||
args.include?(field_format)
|
||||
end
|
||||
|
||||
protected
|
||||
|
||||
# Returns the error message for the given value regarding its format
|
||||
|
||||
Reference in new issue
Block a user