diff --git a/app/assets/javascripts/supplier/app/controllers/modal_add_section_controller.js.coffee b/app/assets/javascripts/supplier/app/controllers/modal_add_section_controller.js.coffee index bcd5296e..1aea00ff 100644 --- a/app/assets/javascripts/supplier/app/controllers/modal_add_section_controller.js.coffee +++ b/app/assets/javascripts/supplier/app/controllers/modal_add_section_controller.js.coffee @@ -1,6 +1,6 @@ Qsupplier.App.ModalAddSectionController = Ember.ObjectController.extend alert_message: null - section_name: '' + section_title: '' section_width: 15 section_height: 8 actions: @@ -35,5 +35,6 @@ Qsupplier.App.ModalAddSectionController = Ember.ObjectController.extend width: width height: height section.save().then (s)=> + @set 'section_title', '' @send 'closeModal' @transitionToRoute 'section', s.id