[oozie] Avoid JS error when clicking on file chooser on Schedule submit modal
}
var supportSelectFolder = !!selectFolder;
- if (typeof allBindingsAccessor().filechooserOptions !== 'undefined' && typeof allBindingsAccessor().filechooserOptions.selectFolder !== 'undefined') {
+ if (allBindingsAccessor && typeof allBindingsAccessor().filechooserOptions !== 'undefined' && typeof allBindingsAccessor().filechooserOptions.selectFolder !== 'undefined') {
supportSelectFolder = allBindingsAccessor().filechooserOptions.selectFolder;
}
