()
| 39 | } |
| 40 | |
| 41 | afterInsert () { |
| 42 | // Automatically open sub modal, unless it will open later via storage sub-modal-continue flag |
| 43 | if ((utils.getQueryVariable('pop') != null) && !storage.load('sub-modal-continue')) { |
| 44 | this.openSubscriptionModal() |
| 45 | } |
| 46 | // This super() must follow open sub check above to avoid double sub modal via CocoView.afterInsert() |
| 47 | return super.afterInsert() |
| 48 | } |
| 49 | |
| 50 | openSubscriptionModal () { |
| 51 | return this.openModalView(new SubscribeModal()) |
nothing calls this directly
no test coverage detected