Browse Source

add save button to config page

configView directives can update the appModel object.  We need
a save button to persist the updates.
Anthony Woods 10 năm trước cách đây
mục cha
commit
9e121ef0c8
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  1. 2 0
      public/app/features/apps/partials/edit.html

+ 2 - 0
public/app/features/apps/partials/edit.html

@@ -98,6 +98,8 @@
 		<div class="simple-box-body">
 			<div ng-if="ctrl.appModel.appId">
 				<app-config-view app-model="ctrl.appModel"></app-config-view>
+				<div class="clearfix"></div>
+				<button type="submit" class="btn btn-success" ng-click="ctrl.update()">Save</button>
 			</div>
 		</div>
 	</section>