Browse Source

add refresh to add new user

CauseFX 5 years ago
parent
commit
10e6f7ed92
3 changed files with 2 additions and 1 deletions
  1. 1 1
      api/pages/settings-user-manage-users.php
  2. 1 0
      js/custom.js
  3. 0 0
      js/custom.min.js

+ 1 - 1
api/pages/settings-user-manage-users.php

@@ -303,4 +303,4 @@ function get_page_settings_user_manage_users($Organizr)
     <div class="clearfix"></div>
 </form>
 ';
-}
+}

+ 1 - 0
js/custom.js

@@ -584,6 +584,7 @@ $(document).on("click", ".addNewUser", function () {
 		message('User Created',response.message,activeInfo.settings.notifications.position,"#FFF","success","5000");
 		if(callbacks){ callbacks.fire(); }
 		clearForm('#new-user-form');
+		$('#jsGrid-Users').jsGrid('render');
 		$.magnificPopup.close();
 	}).fail(function(xhr) {
 		OrganizrApiError(xhr, 'API Error');

File diff suppressed because it is too large
+ 0 - 0
js/custom.min.js


Some files were not shown because too many files changed in this diff