Version 4.3.0
This commit is contained in:
1 parent
96997ddd8e
commit
fe1acf984a
1349 files changed
+116159
-67711
No files matched your search
@@ -119,6 +119,9 @@ class _applications extends \IPS\Dispatcher\Controller
|
||||
'getHtml' => function( $element ) use ( $apps )
|
||||
{
|
||||
$options = array_combine( array_keys( $apps ), array_map( function( $value ){ return $value['name']; }, $apps ) );
|
||||
/* But put system app at end of list to ensure it's not selected by default over something else */
|
||||
unset( $options['core'] );
|
||||
$options['core'] = $apps['core']['name'];
|
||||
return \IPS\Theme::i()->getTemplate( 'forms' )->select( 'default_app', $element->value, TRUE, $options );
|
||||
},
|
||||
'validate' => function( $element ) use ( $apps )
|
||||
|
||||
Reference in new issue
Block a user