Added expanding to note boxes.
This commit is contained in:
parent
96e338f86a
commit
200952f691
2 changed files with 14 additions and 1 deletions
|
@ -49,6 +49,13 @@ class App.WidgetOrganization extends App.Controller
|
|||
organizationData: organizationData
|
||||
)
|
||||
|
||||
a = =>
|
||||
@el.find('textarea').expanding()
|
||||
@el.find('textarea').on('focus', =>
|
||||
@el.find('textarea').expanding()
|
||||
)
|
||||
@delay( a, 80 )
|
||||
|
||||
###
|
||||
@userTicketPopups(
|
||||
selector: '.user-tickets'
|
||||
|
|
|
@ -51,13 +51,19 @@ class App.WidgetUser extends App.ControllerDrox
|
|||
userData: userData
|
||||
)
|
||||
|
||||
a = =>
|
||||
@el.find('textarea').expanding()
|
||||
@el.find('textarea').on('focus', =>
|
||||
@el.find('textarea').expanding()
|
||||
)
|
||||
@delay( a, 80 )
|
||||
|
||||
@userTicketPopups(
|
||||
selector: '.user-tickets'
|
||||
user_id: user.id
|
||||
position: 'right'
|
||||
)
|
||||
|
||||
|
||||
if user.organization_id
|
||||
@el.append('<div class="org-info"></div>')
|
||||
new App.WidgetOrganization(
|
||||
|
|
Loading…
Reference in a new issue