()
| 62 | } |
| 63 | |
| 64 | onLoaded () { |
| 65 | super.onLoaded() |
| 66 | |
| 67 | if (this.poll.get('answers') === undefined) { |
| 68 | this.poll.set('hidden', true) |
| 69 | } |
| 70 | |
| 71 | this.buildTreema() |
| 72 | return this.listenTo(this.poll, 'change', () => { |
| 73 | this.poll.updateI18NCoverage() |
| 74 | return this.treema.set('/', this.poll.attributes) |
| 75 | }) |
| 76 | } |
| 77 | |
| 78 | buildTreema () { |
| 79 | if ((this.treema != null) || (!this.poll.loaded) || (!me.isAdmin())) { return } |
nothing calls this directly
no test coverage detected