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,7 +107,7 @@ | ||
107 | <paper-material id="create_card_info" elevation="5"> | 107 | <paper-material id="create_card_info" elevation="5"> |
108 | <div class="input_header">BASE INFO</div> | 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 | <paper-input value="{{description}}" maxlength="100" label="description"></paper-input> | 112 | <paper-input value="{{description}}" maxlength="100" label="description"></paper-input> |
113 | 113 | ||
@@ -148,7 +148,7 @@ | @@ -148,7 +148,7 @@ | ||
148 | 148 | ||
149 | <template is="dom-if" if="{{_checkType(type, 'text')}}"> | 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 | <p id ="create_card_description">{{description}}</p> | 152 | <p id ="create_card_description">{{description}}</p> |
153 | <p id ="create_card_text">{{text}}</p> | 153 | <p id ="create_card_text">{{text}}</p> |
154 | 154 | ||
@@ -169,7 +169,7 @@ | @@ -169,7 +169,7 @@ | ||
169 | value: undefined//text or link | 169 | value: undefined//text or link |
170 | }, | 170 | }, |
171 | 171 | ||
172 | - title:{//cardTitle | 172 | + cardTitle:{ |
173 | type: String, | 173 | type: String, |
174 | value: "" | 174 | value: "" |
175 | }, | 175 | }, |
@@ -226,7 +226,7 @@ | @@ -226,7 +226,7 @@ | ||
226 | }, | 226 | }, |
227 | 227 | ||
228 | _addCard: function(){ | 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 | _resize : function(){ | 232 | _resize : function(){ |