浏览代码

add refresh to add new user

CauseFX 5 年之前
父节点
当前提交
10e6f7ed92
共有 3 个文件被更改,包括 2 次插入1 次删除
  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');

文件差异内容过多而无法显示
+ 0 - 0
js/custom.min.js


部分文件因为文件数量过多而无法显示