Fix error handling and tab focus
This commit is contained in:
@@ -9,8 +9,8 @@
|
||||
<div class="modal-body" style="padding: 0 15px">
|
||||
<fieldset>
|
||||
<form role="form" name="appConfigureForm" ng-submit="appConfigure.submit()" autocomplete="off">
|
||||
<uib-tabset>
|
||||
<uib-tab index="0" heading="General">
|
||||
<uib-tabset active="appConfigure.action">
|
||||
<uib-tab index="'general'" heading="General">
|
||||
<br/>
|
||||
<div class="has-error text-center" ng-show="appConfigure.error.other">{{ appConfigure.error.other }}</div>
|
||||
<div class="form-group" ng-class="{ 'has-error': (appConfigureForm.location.$dirty && appConfigureForm.location.$invalid) || (!appConfigureForm.location.$dirty && appConfigure.error.location) }">
|
||||
@@ -101,7 +101,7 @@
|
||||
|
||||
</uib-tab>
|
||||
|
||||
<uib-tab index="1" heading="Advanced">
|
||||
<uib-tab index="'advanced'" heading="Advanced">
|
||||
<br/>
|
||||
<div class="form-group">
|
||||
<label class="control-label" for="memoryLimit">Memory Limit <sup><a ng-href="{{ config.webServerOrigin }}/documentation/apps/#increasing-the-memory-limit-of-an-app" class="help" target="_blank"><i class="fa fa-question-circle"></i></a></sup> : <b>{{ appConfigure.memoryLimit ? appConfigure.memoryLimit / 1024 / 1024 + 'MB' : 'Default (256 MB)' }}</b></label>
|
||||
|
||||
Reference in New Issue
Block a user