Improved task meta data update.

This commit is contained in:
Martin Edenhofer 2013-06-09 01:17:45 +02:00
parent 4eea6ac2e8
commit facd2857c4
3 changed files with 6 additions and 1 deletions

View file

@ -195,6 +195,9 @@ class App.TicketCreate extends App.Controller
form_data: @edit_form
)
# update taskbar with new meta data
App.Event.trigger 'task:render'
# add elastic to textarea
@el.find('textarea').elastic()

View file

@ -156,7 +156,8 @@ class App.TicketZoom extends App.Controller
article = App.Collection.find( 'TicketArticle', article_id )
@articles.push article
App.Event.trigger 'ui:rerender'
# update taskbar with new meta data
App.Event.trigger 'task:render'
# rework articles
for article in @articles

View file

@ -206,6 +206,7 @@ class _Singleton extends App.Controller
for item, value of params
task.updateAttribute(item, value)
# task.save()
App.Event.trigger 'task:render'
remove: ( key, to_not_show = false ) =>
task = @get( key )