Merge pull request #1005 from umbraco/temp-U4-7568

Fixes: U4-7568 Only set focus on header name input when creating new node
This commit is contained in:
Simon Busborg
2016-01-11 09:10:05 +01:00
8 changed files with 9 additions and 15 deletions

View File

@@ -20,7 +20,6 @@
ng-model="name"
ng-class="{'name-is-empty': $parent.name===null || $parent.name===''}"
umb-auto-focus
focus-on-filled="true"
required />
</ng-form>

View File

@@ -3,12 +3,11 @@
<umb-load-indicator ng-if="page.loading"></umb-load-indicator>
<form name="contentForm"
ng-show="!page.loading"
ng-submit="save()"
novalidate
val-form-manager>
<umb-editor-view umb-tabs>
<umb-editor-view ng-if="!page.loading" umb-tabs>
<umb-editor-header
menu="page.menu"

View File

@@ -3,12 +3,11 @@
<umb-load-indicator ng-if="page.loading"></umb-load-indicator>
<form name="contentForm"
ng-show="!page.loading"
ng-submit="save()"
novalidate
val-form-manager>
<umb-editor-view>
<umb-editor-view ng-if="!page.loading">
<umb-editor-header
menu="page.menu"

View File

@@ -3,11 +3,10 @@
<umb-load-indicator ng-if="vm.page.loading"></umb-load-indicator>
<form novalidate name="contentTypeForm"
ng-show="!vm.page.loading"
ng-submit="vm.save()"
val-form-manager>
<umb-editor-view>
<umb-editor-view ng-if="!vm.page.loading">
<umb-editor-header
name="vm.contentType.name"

View File

@@ -3,11 +3,10 @@
<umb-load-indicator ng-if="page.loading"></umb-load-indicator>
<form novalidate name="contentForm"
ng-show="!page.loading"
ng-submit="save()"
val-form-manager>
<umb-editor-view umb-tabs>
<umb-editor-view ng-if="!page.loading" umb-tabs>
<umb-editor-header
name="content.name"

View File

@@ -3,10 +3,10 @@
<umb-load-indicator ng-if="vm.page.loading"></umb-load-indicator>
<form novalidate name="contentTypeForm"
ng-show="!vm.page.loading"
ng-submit="vm.save()"
val-form-manager>
<umb-editor-view>
<umb-editor-view ng-if="!vm.page.loading">
<umb-editor-header
name="vm.contentType.name"

View File

@@ -3,11 +3,10 @@
<umb-load-indicator ng-if="page.loading"></umb-load-indicator>
<form novalidate name="contentForm"
ng-show="!page.loading"
ng-submit="save()"
val-form-manager>
<umb-editor-view umb-tabs>
<umb-editor-view ng-if="!page.loading" umb-tabs>
<umb-editor-header
name="content.name"

View File

@@ -3,10 +3,10 @@
<umb-load-indicator ng-if="vm.page.loading"></umb-load-indicator>
<form novalidate name="contentTypeForm"
ng-show="!vm.page.loading"
ng-submit="vm.save()"
val-form-manager>
<umb-editor-view>
<umb-editor-view ng-if="!vm.page.loading">
<umb-editor-header
name="vm.contentType.name"