Adding new save-bar directive for handling save actions for index pages

This commit is contained in:
Rob Harrington
2015-11-06 09:53:31 +11:00
parent 330882c689
commit 27903a46e6
4 changed files with 61 additions and 0 deletions

View File

@@ -0,0 +1,7 @@
angular.module("admin.indexUtils").directive "saveBar", ->
restrict: "E"
scope:
save: "&"
saving: "&"
dirty: "&"
templateUrl: "admin/save_bar.html"