{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":779643971,"defaultBranch":"master","name":"jquery-modal","ownerLogin":"lgt1001","currentUserCanPush":false,"isFork":true,"isEmpty":false,"createdAt":"2024-03-30T11:53:30.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/9706939?v=4","public":true,"private":false,"isOrgOwned":false},"refInfo":{"name":"","listCacheKey":"v0:1711799616.8469388","currentOid":""},"activityList":{"items":[{"before":"c1c3346d6eb3e36ab9e4c4917b5084459f597956","after":"b63ba8bd871eaf543467e7fce31a8dca1f563f29","ref":"refs/heads/master","pushedAt":"2024-03-31T01:39:04.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"lgt1001","name":"Guangtu Liu","path":"/lgt1001","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/9706939?s=80&v=4"},"commit":{"message":"add example","shortMessageHtmlLink":"add example"}},{"before":"8b8a7ce6cc4910cead28e8865c3bf867bc5d84cd","after":"c1c3346d6eb3e36ab9e4c4917b5084459f597956","ref":"refs/heads/master","pushedAt":"2024-03-30T12:33:25.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"lgt1001","name":"Guangtu Liu","path":"/lgt1001","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/9706939?s=80&v=4"},"commit":{"message":"Update jquery.modal.js\n\nUse same modal, and show different content.\r\nSuch as I have a login modal and a register modal, both of them can directly open from button/hyperlink, and inside of login modal, it also can replace with register modal.\r\nJust need to call, `$.modal.release();`, and then call the function which will show register modal.\r\n\r\n```\r\nfunction login() {\r\n $(\"#modal\")\r\n .empty()\r\n .append(\"...\")\r\n .width(\"500px\").height(\"280px\")\r\n .modal({ fadeDuration: 500, fadeDelay: 0.50, escapeClose: false, clickClose: false, closeExisting: false });\r\n $(\"#registerBtn\").on(\"click\", function(){\r\n $.modal.release();\r\n register();\r\n });\r\n}\r\nfunction register(){\r\n $(\"#modal\")\r\n .empty()\r\n .append(\"...\")\r\n .width(\"500px\").height(\"280px\")\r\n .modal({ fadeDuration: 500, fadeDelay: 0.50, escapeClose: false, clickClose: false, closeExisting: false });\r\n}\r\n```","shortMessageHtmlLink":"Update jquery.modal.js"}}],"hasNextPage":false,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"cursor":"Y3Vyc29yOnYyOpK7MjAyNC0wMy0zMVQwMTozOTowNC4wMDAwMDBazwAAAAQjkuhV","startCursor":"Y3Vyc29yOnYyOpK7MjAyNC0wMy0zMVQwMTozOTowNC4wMDAwMDBazwAAAAQjkuhV","endCursor":"Y3Vyc29yOnYyOpK7MjAyNC0wMy0zMFQxMjozMzoyNS4wMDAwMDBazwAAAAQjTTGY"}},"title":"Activity ยท lgt1001/jquery-modal"}