INSERT INTO `cp_filehtml` (`id`,`modul`,`app`,`path`,`type`,`cat`,`file_name`,`content`) VALUES ('384','profile','1','u2/creator','0','js','profile-edit.js-','// --------------- Delete Profile Page ---------------\r\n// $(document).on(\\\'page:init\\\', \\\'.page[data-name=\\\"profile-edit-account-settings\\\"]\\\', function (e) {\r\n// });\r\n\r\n$(document).on(\\\'click\\\', \\\'.account-delete\\\', function (e) {\r\n app.dialog.confirm(\\\'Are you sure? It is not possible to restore accounts once deleted.\\\', \\\'Confirm\\\', function (name) {\r\n app.dialog.passwordConfirm(\\\'Please enter your password.\\\', \\\'Delete Account\\\', async function (password) {\r\n await handleDeleteAccount(password);\r\n });\r\n });\r\n});');
Add JS Function Name
profile
pages/profile-edit-images.html
pages/profile-edit-images.html
- $(document).on('click', '#save-profile-images'
- $(document).on('page:init', '.page[data-name="profile-edit-images"]'
- $(document).on('click', '.user-follow-btn'
- $(document).on('infinite', '.profile-landing-page.infinite-scroll-content.view-page'
- $(document).on('page:beforein', '.page[data-name="profile-view"]'
- $(document).on('page:init', '.page[data-name="profile-view"]'
- $(document).on('ptr:refresh', '.profile-landing-page.view-page.ptr-content'
- async function renderProfileData(cachedData, userId)
- function populateUsersPosts(data)
- store.getters.getUserPathUpdated.onUpdated