X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/a11c56ef66604a9117e3db8c2fa2273c98f88b51..8a504ad561c1ffbafee8a7bc8da551f9d4b9a29e:/apps/workbench/app/helpers/application_helper.rb diff --git a/apps/workbench/app/helpers/application_helper.rb b/apps/workbench/app/helpers/application_helper.rb index a05e6ba268..ef2830cd7e 100644 --- a/apps/workbench/app/helpers/application_helper.rb +++ b/apps/workbench/app/helpers/application_helper.rb @@ -307,9 +307,7 @@ module ApplicationHelper end end - if dataclass == 'number' or attrvalue.is_a? Fixnum or attrvalue.is_a? Float - datatype = 'number' - elsif attrvalue.is_a? String + if attrvalue.is_a? String datatype = 'text' elsif attrvalue.is_a?(Array) or dataclass.andand.is_a?(Class) # TODO: find a way to edit with x-editable