diff --git a/addon/templates/components/place-autocomplete-field.hbs b/addon/templates/components/place-autocomplete-field.hbs index 55dbb89..94e96f3 100644 --- a/addon/templates/components/place-autocomplete-field.hbs +++ b/addon/templates/components/place-autocomplete-field.hbs @@ -6,5 +6,5 @@ tabindex=tabindex disabled=disabled focus-out='focusOut' - bubbles=true}} + }} {{/if}} \ No newline at end of file diff --git a/tests/dummy/app/controllers/application.js b/tests/dummy/app/controllers/application.js index 7de5c1e..eae0748 100644 --- a/tests/dummy/app/controllers/application.js +++ b/tests/dummy/app/controllers/application.js @@ -4,12 +4,12 @@ export default Ember.Controller.extend({ restrictions: {country: "co"}, actions:{ - done: function(){ + done(){ Ember.$('#message').fadeOut(500, () => { this.set('message', 'Focus out'); }).fadeIn(500); }, - placeChanged: function(place){ + placeChanged(place){ this.set('placeJSON', JSON.stringify(place, undefined, 2)); if (place.adr_address) { let regexp = /(([^<]*)<\/span>)/g, @@ -19,7 +19,7 @@ export default Ember.Controller.extend({ this.set('fullAddress', place.adr_address); }, - placeChangedSecondInput: function(place){ + placeChangedSecondInput(place){ this.set('placeJSONSecondInput', JSON.stringify(place, undefined, 2)); } }