(context?: ModuleContext)
| 233 | } |
| 234 | |
| 235 | public _onLivesync(context?: ModuleContext): boolean { |
| 236 | if (Trace.isEnabled()) { |
| 237 | Trace.write(`${this}._onLivesync(${JSON.stringify(context)})`, Trace.categories.Livesync); |
| 238 | } |
| 239 | |
| 240 | let handled = false; |
| 241 | |
| 242 | if (this._closeAllModalViewsInternal()) { |
| 243 | handled = true; |
| 244 | } |
| 245 | |
| 246 | if (this._handleLivesync(context)) { |
| 247 | return true; |
| 248 | } |
| 249 | |
| 250 | this.eachChildView((child: ViewCommon) => { |
| 251 | if (child._onLivesync(context)) { |
| 252 | handled = true; |
| 253 | return false; |
| 254 | } |
| 255 | }); |
| 256 | |
| 257 | return handled; |
| 258 | } |
| 259 | |
| 260 | public _handleLivesync(context?: ModuleContext): boolean { |
| 261 | if (Trace.isEnabled()) { |
nothing calls this directly
no test coverage detected