()
| 106 | } |
| 107 | |
| 108 | public openNextEp() { |
| 109 | if (typeof this.page.sync.nextEpUrl !== 'undefined') { |
| 110 | if (this.page.isSyncPage(this.url)) { |
| 111 | const nextEp = this.page.sync.nextEpUrl(this.url); |
| 112 | if (nextEp) { |
| 113 | window.location.href = nextEp; |
| 114 | return; |
| 115 | } |
| 116 | } |
| 117 | utils.flashm(api.storage.lang('nextEpShort_no_nextEp'), { |
| 118 | error: true, |
| 119 | type: 'EpError', |
| 120 | }); |
| 121 | return; |
| 122 | } |
| 123 | utils.flashm(api.storage.lang('nextEpShort_no_support'), { |
| 124 | error: true, |
| 125 | type: 'EpError', |
| 126 | }); |
| 127 | } |
| 128 | |
| 129 | autoNextEpRun = false; |
| 130 |
no test coverage detected