Fixed some typos - with the help of @natseg - Pull request #1437.

This commit is contained in:
Thorsten Eckel 2017-10-17 10:37:44 +02:00
parent 0632e421b0
commit 7bccc25d75
7 changed files with 8 additions and 8 deletions

View file

@ -186,13 +186,13 @@ class App.UiElement.ApplicationUiElement
@selectedOptions: (attribute) ->
return if !attribute.options
# lookup of any record, if it need to be selected
# lookup of any record, if it needs to be selected
for record in attribute.options
if @_selectedOptionsIsSelected(attribute.value, record)
record.selected = 'selected'
record.checked = 'checked'
# if noting is selected / checked, use default as selected / checked
# if nothing is selected / checked, use default as selected / checked
selected = false
for record in attribute.options
if record.selected || record.checked

View file

@ -17,7 +17,7 @@ class App.UiElement.column_select extends App.UiElement.ApplicationUiElement
# sort attribute.options
@sortOptions( attribute, params )
# finde selected/checked item of list
# find selected/checked item of list
@selectedOptions( attribute, params )
# disable item of list

View file

@ -313,7 +313,7 @@ class App.UiElement.ticket_selector
elementRow.find('.js-value').removeClass('hide')
@buildValue(elementFull, elementRow, groupAndAttribute, elements, meta, attribute)
# force to use auto complition on user lookup
# force to use auto completion on user lookup
attribute = _.clone(attributeConfig)
name = "#{attribute.name}::#{groupAndAttribute}::value"

View file

@ -30,7 +30,7 @@ class App.WidgetUser extends App.Controller
# add to show if value exists
if ( user[name] || attributeConfig.tag is 'richtext' ) && attributeConfig.shown
# do not show firstname and lastname / already show via diplayName()
# do not show firstname and lastname / already show via displayName()
if name isnt 'firstname' && name isnt 'lastname' && name isnt 'organization'
userData.push attributeConfig

View file

@ -32,7 +32,7 @@ Mit **Organisationen** können Sie Kunden **gruppieren**. Dies hat u. a. zwei be
@_fillUp: (data) ->
# addd users of organization
# add users of organization
if data['member_ids']
data['members'] = []
for user_id in data['member_ids']

View file

@ -31,7 +31,7 @@ module ChecksHtmlSanitized
=begin
serve methode to mark HTML attrbibutes that need to get sanitized
serve method to mark HTML attributes that need to get sanitized
class Model < ApplicationModel
include Sanitized

View file

@ -21,7 +21,7 @@ class Observer::Chat::Leave::BackgroundJob
realname = User.lookup(id: @session['id']).fullname
end
# notifiy participients
# notify participants
message = {
event: 'chat_session_left',
data: {