diff --git a/OpenAuth.Mvc/Views/ModuleManager/Index.cshtml b/OpenAuth.Mvc/Views/ModuleManager/Index.cshtml index 1140019b..bcee31ab 100644 --- a/OpenAuth.Mvc/Views/ModuleManager/Index.cshtml +++ b/OpenAuth.Mvc/Views/ModuleManager/Index.cshtml @@ -198,4 +198,4 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/OpenAuth.Mvc/wwwroot/userJs/modules.js b/OpenAuth.Mvc/wwwroot/userJs/modules.js index 4caf0fc9..2f6cc1fa 100644 --- a/OpenAuth.Mvc/wwwroot/userJs/modules.js +++ b/OpenAuth.Mvc/wwwroot/userJs/modules.js @@ -133,7 +133,7 @@ layui.config({ form.val("formEdit", moduleInitVal); } else { form.val("formEdit", data); - form.render(); + iconPicker.checkIcon('iconPicker', data.IconName); } }, end: mainList @@ -181,7 +181,7 @@ layui.config({ form.val("mfromEdit", menuInital); } else { form.val("mfromEdit", data); - form.render(); + btnIconPicker.checkIcon('btnIconPicker', data.Icon); } }, end: menuList