Import members: board import

This commit is contained in:
Xavier Priour 2015-11-13 19:17:09 +01:00
parent f6f41270de
commit dd0a6e1a82
6 changed files with 48 additions and 15 deletions

View file

@ -29,13 +29,12 @@ const ImportPopup = BlazeComponent.extendComponent({
},
onShowMapping(evt) {
// todo xxx make it work - currently we don't find the text
// this._storeText(evt);
this._storeText(evt);
Popup.open('mapMembers')(evt);
},
_storeText(evt) {
const dataJson = $(evt.currentTarget).find('.js-import-json').val();
const dataJson = this.$('.js-import-json').val();
Session.set('import.text', dataJson);
return dataJson;
},