aboutsummaryrefslogtreecommitdiffhomepage
path: root/main/app/sprinkles/admin/assets/userfrosting/js/pages/permission.js
diff options
context:
space:
mode:
Diffstat (limited to 'main/app/sprinkles/admin/assets/userfrosting/js/pages/permission.js')
-rw-r--r--main/app/sprinkles/admin/assets/userfrosting/js/pages/permission.js40
1 files changed, 20 insertions, 20 deletions
diff --git a/main/app/sprinkles/admin/assets/userfrosting/js/pages/permission.js b/main/app/sprinkles/admin/assets/userfrosting/js/pages/permission.js
index 61eefb6..ccb6bde 100644
--- a/main/app/sprinkles/admin/assets/userfrosting/js/pages/permission.js
+++ b/main/app/sprinkles/admin/assets/userfrosting/js/pages/permission.js
@@ -1,20 +1,20 @@
-/**
- * Page-specific Javascript file. Should generally be included as a separate asset bundle in your page template.
- * example: {{ assets.js('js/pages/sign-in-or-register') | raw }}
- *
- * This script depends on uf-table.js, moment.js, handlebars-helpers.js
- *
- * Target page: /permissions/p/{id}
- */
-
-$(document).ready(function () {
- $("#widget-permission-users").ufTable({
- dataUrl: site.uri.public + '/api/permissions/p/' + page.permission_id + '/users',
- useLoadingTransition: site.uf_table.use_loading_transition
- });
-
- // Bind table buttons
- $("#widget-permission-users").on("pagerComplete.ufTable", function () {
- bindUserButtons($(this));
- });
-});
+/**
+ * Page-specific Javascript file. Should generally be included as a separate asset bundle in your page template.
+ * example: {{ assets.js('js/pages/sign-in-or-register') | raw }}
+ *
+ * This script depends on uf-table.js, moment.js, handlebars-helpers.js
+ *
+ * Target page: /permissions/p/{id}
+ */
+
+$(document).ready(function () {
+ $("#widget-permission-users").ufTable({
+ dataUrl: site.uri.public + '/api/permissions/p/' + page.permission_id + '/users',
+ useLoadingTransition: site.uf_table.use_loading_transition
+ });
+
+ // Bind table buttons
+ $("#widget-permission-users").on("pagerComplete.ufTable", function () {
+ bindUserButtons($(this));
+ });
+});