mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-03-30 06:31:16 +00:00
Keep the action with save button
This commit is contained in:
@@ -86,4 +86,4 @@ angular.module('admin.orderCycles')
|
||||
$scope.submit = (destination) ->
|
||||
StatusMessage.display 'progress', "Saving..."
|
||||
OrderCycle.update(destination)
|
||||
this.order_cycle_form.$setPristine()
|
||||
$scope.order_cycle_form.$setPristine()
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
angular.module("admin.utils").directive "saveBar", (StatusMessage) ->
|
||||
restrict: "E"
|
||||
scope:
|
||||
save: "&"
|
||||
form: "="
|
||||
buttons: "="
|
||||
templateUrl: "admin/save_bar.html"
|
||||
|
||||
Reference in New Issue
Block a user