Commit efa1bdf32d8bfa81889c511ff8e7d43f27ef4e47
1 parent
09e4db90
refactoring
Showing
1 changed file
with
4 additions
and
4 deletions
controllets/create-card-controllet/create-card-controllet.html
| ... | ... | @@ -107,7 +107,7 @@ |
| 107 | 107 | <paper-material id="create_card_info" elevation="5"> |
| 108 | 108 | <div class="input_header">BASE INFO</div> |
| 109 | 109 | |
| 110 | - <paper-input value="{{title}}" maxlength="32" label="title"></paper-input> | |
| 110 | + <paper-input value="{{cardTitle}}" maxlength="32" label="title"></paper-input> | |
| 111 | 111 | |
| 112 | 112 | <paper-input value="{{description}}" maxlength="100" label="description"></paper-input> |
| 113 | 113 | |
| ... | ... | @@ -148,7 +148,7 @@ |
| 148 | 148 | |
| 149 | 149 | <template is="dom-if" if="{{_checkType(type, 'text')}}"> |
| 150 | 150 | |
| 151 | - <p id ="create_card_title">{{title}}</p> | |
| 151 | + <p id ="create_card_title">{{cardTitle}}</p> | |
| 152 | 152 | <p id ="create_card_description">{{description}}</p> |
| 153 | 153 | <p id ="create_card_text">{{text}}</p> |
| 154 | 154 | |
| ... | ... | @@ -169,7 +169,7 @@ |
| 169 | 169 | value: undefined//text or link |
| 170 | 170 | }, |
| 171 | 171 | |
| 172 | - title:{//cardTitle | |
| 172 | + cardTitle:{ | |
| 173 | 173 | type: String, |
| 174 | 174 | value: "" |
| 175 | 175 | }, |
| ... | ... | @@ -226,7 +226,7 @@ |
| 226 | 226 | }, |
| 227 | 227 | |
| 228 | 228 | _addCard: function(){ |
| 229 | - this.fire('create-card-controllet_add-clicked', {data : this});//create-card-controllet_data | |
| 229 | + this.fire('create-card-controllet_data', {data : this}); | |
| 230 | 230 | }, |
| 231 | 231 | |
| 232 | 232 | _resize : function(){ | ... | ... |