diff --git a/app/assets/javascripts/admins/laboratory_subjects/index.js b/app/assets/javascripts/admins/laboratory_subjects/index.js index 04e82bb2a..a26f6bf31 100644 --- a/app/assets/javascripts/admins/laboratory_subjects/index.js +++ b/app/assets/javascripts/admins/laboratory_subjects/index.js @@ -107,7 +107,7 @@ $(document).on('turbolinks:load', function() { }, templateResult: function (item) { if(!item.id || item.id === '') return item.text; - var ele = '' + var ele = ''; ele += '' + item.name + ''; ele += ' -- ' + item.creator_name + ''; ele += ' -- ' + item.status_text+ ''; @@ -118,7 +118,7 @@ $(document).on('turbolinks:load', function() { templateSelection: function(item){ if (item.id) { } - var ele = '' + (item.name || item.text) + ' -- ' + item.creator_name + '' + var ele = '' + (item.name || item.text) + ' -- ' + item.creator_name + ''; return $(ele); } });