aboutsummaryrefslogtreecommitdiffhomepage
path: root/main/app/sprinkles/admin/assets/userfrosting/js/pages/users.js
diff options
context:
space:
mode:
Diffstat (limited to 'main/app/sprinkles/admin/assets/userfrosting/js/pages/users.js')
-rw-r--r--main/app/sprinkles/admin/assets/userfrosting/js/pages/users.js24
1 files changed, 0 insertions, 24 deletions
diff --git a/main/app/sprinkles/admin/assets/userfrosting/js/pages/users.js b/main/app/sprinkles/admin/assets/userfrosting/js/pages/users.js
deleted file mode 100644
index 2051012..0000000
--- a/main/app/sprinkles/admin/assets/userfrosting/js/pages/users.js
+++ /dev/null
@@ -1,24 +0,0 @@
-/**
- * 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 widgets/users.js, uf-table.js, moment.js, handlebars-helpers.js
- *
- * Target page: /users
- */
-
-$(document).ready(function () {
- // Set up table of users
- $("#widget-users").ufTable({
- dataUrl: site.uri.public + "/api/users",
- useLoadingTransition: site.uf_table.use_loading_transition
- });
-
- // Bind creation button
- bindUserCreationButton($("#widget-users"));
-
- // Bind table buttons
- $("#widget-users").on("pagerComplete.ufTable", function () {
- bindUserButtons($(this));
- });
-});