|
7 | 7 |
|
8 | 8 | define(['accUtils', 'knockout', 'utils/i18n', 'models/wkt-project', 'ojs/ojarraydataprovider', |
9 | 9 | 'ojs/ojbufferingdataprovider', 'utils/common-utilities', 'utils/dialog-helper', 'utils/view-helper', |
10 | | - 'utils/wkt-logger', 'utils/url-catalog', 'ojs/ojinputtext', 'ojs/ojlabel', 'ojs/ojbutton', 'ojs/ojformlayout', |
11 | | - 'ojs/ojradioset', 'ojs/ojswitch', 'ojs/ojselectsingle', 'ojs/ojtable' ], |
| 10 | + 'utils/aux-image-helper', 'utils/wkt-logger', 'utils/url-catalog', 'ojs/ojinputtext', 'ojs/ojlabel', 'ojs/ojbutton', |
| 11 | + 'ojs/ojformlayout', 'ojs/ojradioset', 'ojs/ojswitch', 'ojs/ojselectsingle', 'ojs/ojtable' ], |
12 | 12 | function(accUtils, ko, i18n, project, ArrayDataProvider, |
13 | | - BufferingDataProvider, utils, dialogHelper, viewHelper) { |
| 13 | + BufferingDataProvider, utils, dialogHelper, viewHelper, auxImageHelper) { |
14 | 14 |
|
15 | 15 | function ProjectSettingsViewModel() { |
16 | 16 |
|
@@ -185,7 +185,8 @@ function(accUtils, ko, i18n, project, ArrayDataProvider, |
185 | 185 | }, this); |
186 | 186 |
|
187 | 187 | this.requiresOracleHome = () => { |
188 | | - return this.project.settings.targetDomainLocation.value !== 'pv'; |
| 188 | + return this.project.settings.targetDomainLocation.value !== 'pv' || |
| 189 | + auxImageHelper.supportsDomainCreationImages(); |
189 | 190 | }; |
190 | 191 |
|
191 | 192 | this.chooseJavaHome = () => { |
|
0 commit comments