Fixed some typos - with the help of @natseg - Pull request #1437.
This commit is contained in:
parent
0632e421b0
commit
7bccc25d75
7 changed files with 8 additions and 8 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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']
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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: {
|
||||
|
|
Loading…
Reference in a new issue