| @@ -27,9 +27,13 @@ | ||
| 27 | 27 | public $themes = []; |
| 28 | 28 | public $module = []; |
| 29 | 29 | public $default_source = 'popup_notification'; |
| 30 | 30 | public $id = 'popup'; |
| 31 | - public $default_theme = 'popup_theme-one'; | |
| 31 | + // Theme keys are prefixed with the source id ('popup_notification_'), so the | |
| 32 | + // default theme must be the fully-prefixed key. 'popup_theme-one' matched no | |
| 33 | + // registered theme, leaving the initial theme invalid and breaking default | |
| 34 | + // application for rules-gated fields (subtitle / coupon code). | |
| 35 | + public $default_theme = 'popup_notification_theme-one'; | |
| 32 | 36 | public $link_type = 'popup_url'; |
| 33 | 37 | |
| 34 | 38 | /** |
| 35 | 39 | * Initially Invoked when initialized. |