Fix some failing spec
This commit is contained in:
+2
-1
@@ -2,5 +2,6 @@ App.modals.CloseListController = App.modals.BaseController.extend
|
||||
title_path: 'list.close.modal.title'
|
||||
actions:
|
||||
confirm: ->
|
||||
@get('model').then (l)->l.close()
|
||||
model = @get('model')
|
||||
if model.then then model.then((l) -> l.close()) else model.close()
|
||||
@send 'closeModal'
|
||||
|
||||
@@ -10,7 +10,7 @@ App.ProductCategory = DS.Model.extend
|
||||
active_on_thursday: attr('boolean')
|
||||
active_on_friday: attr('boolean')
|
||||
active_on_saturday: attr('boolean')
|
||||
full_day: attr('boolean')
|
||||
full_day: attr 'boolean', defaultValue: true
|
||||
start_from: attr('number')
|
||||
end_on: attr('number')
|
||||
position: attr('number')
|
||||
|
||||
Reference in New Issue
Block a user