()
| 126 | } |
| 127 | |
| 128 | onClick () { |
| 129 | // workaround to get users out of permanent idle status |
| 130 | if (application.userIsIdle) { |
| 131 | application.idleTracker.onVisible() |
| 132 | } |
| 133 | |
| 134 | // hide context menu if visible |
| 135 | if (this.$('#surface-context-menu-view').is(':visible')) { |
| 136 | return Backbone.Mediator.publish('level:surface-context-menu-hide', {}) |
| 137 | } |
| 138 | } |
| 139 | |
| 140 | setLevel (level, givenSupermodel) { |
| 141 | this.level = level |