{"action":"created","issue":{"url":"https://api.github.com/repos/aui/artDialog/issues/251","labels_url":"https://api.github.com/repos/aui/artDialog/issues/251/labels{/name}","comments_url":"https://api.github.com/repos/aui/artDialog/issues/251/comments","events_url":"https://api.github.com/repos/aui/artDialog/issues/251/events","html_url":"https://github.com/aui/artDialog/issues/251","id":129320772,"number":251,"title":"我可以自定义一个关闭按钮吗？","user":{"login":"blwoosky","id":3919976,"avatar_url":"https://avatars.githubusercontent.com/u/3919976?v=3","gravatar_id":"","url":"https://api.github.com/users/blwoosky","html_url":"https://github.com/blwoosky","followers_url":"https://api.github.com/users/blwoosky/followers","following_url":"https://api.github.com/users/blwoosky/following{/other_user}","gists_url":"https://api.github.com/users/blwoosky/gists{/gist_id}","starred_url":"https://api.github.com/users/blwoosky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blwoosky/subscriptions","organizations_url":"https://api.github.com/users/blwoosky/orgs","repos_url":"https://api.github.com/users/blwoosky/repos","events_url":"https://api.github.com/users/blwoosky/events{/privacy}","received_events_url":"https://api.github.com/users/blwoosky/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-01-28T03:24:53Z","updated_at":"2016-01-28T04:57:41Z","closed_at":null,"body":"我可以指定一个弹框内的任意一个内容做为关闭按钮吗？"},"comment":{"url":"https://api.github.com/repos/aui/artDialog/issues/comments/175977318","html_url":"https://github.com/aui/artDialog/issues/251#issuecomment-175977318","issue_url":"https://api.github.com/repos/aui/artDialog/issues/251","id":175977318,"user":{"login":"xdqa01","id":4485973,"avatar_url":"https://avatars.githubusercontent.com/u/4485973?v=3","gravatar_id":"","url":"https://api.github.com/users/xdqa01","html_url":"https://github.com/xdqa01","followers_url":"https://api.github.com/users/xdqa01/followers","following_url":"https://api.github.com/users/xdqa01/following{/other_user}","gists_url":"https://api.github.com/users/xdqa01/gists{/gist_id}","starred_url":"https://api.github.com/users/xdqa01/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xdqa01/subscriptions","organizations_url":"https://api.github.com/users/xdqa01/orgs","repos_url":"https://api.github.com/users/xdqa01/repos","events_url":"https://api.github.com/users/xdqa01/events{/privacy}","received_events_url":"https://api.github.com/users/xdqa01/received_events","type":"User","site_admin":false},"created_at":"2016-01-28T04:57:41Z","updated_at":"2016-01-28T04:57:41Z","body":"    dialog.getTop = function () {\r\n        /// <summary>\r\n        /// 获取顶层对话框\r\n        /// dialog.getCurrent()只能获取最近一次的对话框\r\n        /// 当先开启的对话框未关闭，后开启的对话框已关闭时始终返回null\r\n        ///</summary>\r\n        var _Cur = null;\r\n        for (var key in dialog.list) {\r\n            var dlg = dialog.list[key];\r\n            if (dlg.open) {\r\n                if (_Cur == null || key > _Cur.id)\r\n                    _Cur = dlg;\r\n            };\r\n        };\r\n        return _Cur;\r\n    };"}}