{"action":"created","comment":{"url":"https://api.github.com/repos/IgniteUI/ignite-ui/pulls/comments/78273934","id":78273934,"diff_hunk":"@@ -146,106 +175,732 @@\n \t\t\t\tNotes:\n \t\t\t\t1. If parent element of original target-element is invisible, then pinned dialog becomes invisible as well.\n \t\t\t\t2. Pinned state is not supported for modal dialog.\n+\t\t\t\t\n+\t\t\t\t```\n+\t\t\t\t\n+\t\t\t\t//Initialize\n+\t\t\t\t$(\".selector\").igDialog({\n+\t\t\t\t\tpinned : true\n+\t\t\t\t});\n+\n+\t\t\t\t//Get\n+\t\t\t\tvar isPinned = $(\".selector\").igDialog(\"option\", \"pinned\");\n+\n+\t\t\t\t//Set\n+\t\t\t\t$(\".selector\").igDialog(\"option\", \"pinned\", true);\n+\t\t\t\t\n+\t\t\t\t```\n \t\t\t*/\n \t\t\tpinned: false,\n-\t\t\t/* type=\"bool\" Sets gets ability to close dialog on Esc key. */\n+\t\t\t/* type=\"bool\" Sets gets ability to close dialog on Esc key. \n+\t\t\t\t\n+\t\t\t\t```\n+\t\t\t\t\n+\t\t\t\t//Initialize\n+\t\t\t\t$(\".selector\").igDialog({\n+\t\t\t\t\tcloseOnEscape : false\n+\t\t\t\t});\n+\n+\t\t\t\t//Get\n+\t\t\t\tvar closeDialogOnEscape = $(\".selector\").igDialog(\"option\", \"closeOnEscape\");\n+\n+\t\t\t\t//Set\n+\t\t\t\t$(\".selector\").igDialog(\"option\", \"closeOnEscape\", false);\n+\t\t\t\t\n+\t\t\t\t```\n+\t\t\t*/\n \t\t\tcloseOnEscape: true,\n-\t\t\t/* type=\"bool\" Sets gets visibility of close button in header. */\n+\t\t\t/* type=\"bool\" Sets gets visibility of close button in header.\n+\t\t\t\t\n+\t\t\t\t```\n+\t\t\t\t\n+\t\t\t\t//Initialize\n+\t\t\t\t$(\".selector\").igDialog({\n+\t\t\t\t\tshowCloseButton : false\n+\t\t\t\t});\n+\n+\t\t\t\t//Get\n+\t\t\t\tvar showDialogCloseButton = $(\".selector\").igDialog(\"option\", \"showCloseButton\");\n+\n+\t\t\t\t//Set\n+\t\t\t\t$(\".selector\").igDialog(\"option\", \"showCloseButton\", false);\n+\t\t\t\t\n+\t\t\t\t```\n+\t\t\t*/\n \t\t\tshowCloseButton: true,\n-\t\t\t/* type=\"bool\" Sets gets visibility of maximize button in header. */\n+\t\t\t/* type=\"bool\" Sets gets visibility of maximize button in header.\n+\t\t\t\t```\n+\t\t\t\t\n+\t\t\t\t//Initialize\n+\t\t\t\t$(\".selector\").igDialog({\n+\t\t\t\t\tshowMaximizeButton : true\n+\t\t\t\t});\n+\n+\t\t\t\t//Get\n+\t\t\t\tvar showDialogMaximizeButton = $(\".selector\").igDialog(\"option\", \"showMaximizeButton\");\n+\n+\t\t\t\t//Set\n+\t\t\t\t$(\".selector\").igDialog(\"option\", \"showMaximizeButton\", true);\n+\t\t\t\t\n+\t\t\t\t```\n+\t\t\t*/\n \t\t\tshowMaximizeButton: false,\n-\t\t\t/* type=\"bool\" Sets gets visibility of minimize button in header. */\n+\t\t\t/* type=\"bool\" Sets gets visibility of minimize button in header.\n+\t\t\t\n+\t\t\t\t```\n+\t\t\t\t\n+\t\t\t\t//Initialize\n+\t\t\t\t$(\".selector\").igDialog({\n+\t\t\t\t\tshowMinimizeButton : true\n+\t\t\t\t});\n+\n+\t\t\t\t//Get\n+\t\t\t\tvar showDialogMinimizeButton = $(\".selector\").igDialog(\"option\", \"showMinimizeButton\");\n+\n+\t\t\t\t//Set\n+\t\t\t\t$(\".selector\").igDialog(\"option\", \"showMinimizeButton\", true);\n+\t\t\t\t\n+\t\t\t\t```\n+\t\t\t*/\n \t\t\tshowMinimizeButton: false,\n-\t\t\t/* type=\"bool\" Sets gets visibility of pin button in header. */\n+\t\t\t/* type=\"bool\" Sets gets visibility of pin button in header.","path":"src/js/modules/infragistics.ui.dialog.js","position":123,"original_position":145,"commit_id":"98162c10b287b56de0b84c536e4aeed7dcf61ad4","original_commit_id":"cd1da6e91b835849718942439a772d9502cd6685","user":{"login":"kdinev","id":1472513,"avatar_url":"https://avatars.githubusercontent.com/u/1472513?v=3","gravatar_id":"","url":"https://api.github.com/users/kdinev","html_url":"https://github.com/kdinev","followers_url":"https://api.github.com/users/kdinev/followers","following_url":"https://api.github.com/users/kdinev/following{/other_user}","gists_url":"https://api.github.com/users/kdinev/gists{/gist_id}","starred_url":"https://api.github.com/users/kdinev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kdinev/subscriptions","organizations_url":"https://api.github.com/users/kdinev/orgs","repos_url":"https://api.github.com/users/kdinev/repos","events_url":"https://api.github.com/users/kdinev/events{/privacy}","received_events_url":"https://api.github.com/users/kdinev/received_events","type":"User","site_admin":false},"body":"the visibility of the pin button in the dialog header.","created_at":"2016-09-10T08:38:00Z","updated_at":"2016-09-10T08:38:00Z","html_url":"https://github.com/IgniteUI/ignite-ui/pull/304#discussion_r78273934","pull_request_url":"https://api.github.com/repos/IgniteUI/ignite-ui/pulls/304","_links":{"self":{"href":"https://api.github.com/repos/IgniteUI/ignite-ui/pulls/comments/78273934"},"html":{"href":"https://github.com/IgniteUI/ignite-ui/pull/304#discussion_r78273934"},"pull_request":{"href":"https://api.github.com/repos/IgniteUI/ignite-ui/pulls/304"}}},"pull_request":{"url":"https://api.github.com/repos/IgniteUI/ignite-ui/pulls/304","id":84748645,"html_url":"https://github.com/IgniteUI/ignite-ui/pull/304","diff_url":"https://github.com/IgniteUI/ignite-ui/pull/304.diff","patch_url":"https://github.com/IgniteUI/ignite-ui/pull/304.patch","issue_url":"https://api.github.com/repos/IgniteUI/ignite-ui/issues/304","number":304,"state":"open","locked":false,"title":"Transferring code snippets for igDialog","user":{"login":"dafo","id":2778393,"avatar_url":"https://avatars.githubusercontent.com/u/2778393?v=3","gravatar_id":"","url":"https://api.github.com/users/dafo","html_url":"https://github.com/dafo","followers_url":"https://api.github.com/users/dafo/followers","following_url":"https://api.github.com/users/dafo/following{/other_user}","gists_url":"https://api.github.com/users/dafo/gists{/gist_id}","starred_url":"https://api.github.com/users/dafo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dafo/subscriptions","organizations_url":"https://api.github.com/users/dafo/orgs","repos_url":"https://api.github.com/users/dafo/repos","events_url":"https://api.github.com/users/dafo/events{/privacy}","received_events_url":"https://api.github.com/users/dafo/received_events","type":"User","site_admin":false},"body":"#295 ","created_at":"2016-09-10T08:09:30Z","updated_at":"2016-09-10T08:38:00Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9f19e3f6822ef95352b42b0c8ef2004665dab886","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/IgniteUI/ignite-ui/pulls/304/commits","review_comments_url":"https://api.github.com/repos/IgniteUI/ignite-ui/pulls/304/comments","review_comment_url":"https://api.github.com/repos/IgniteUI/ignite-ui/pulls/comments{/number}","comments_url":"https://api.github.com/repos/IgniteUI/ignite-ui/issues/304/comments","statuses_url":"https://api.github.com/repos/IgniteUI/ignite-ui/statuses/98162c10b287b56de0b84c536e4aeed7dcf61ad4","head":{"label":"dafo:AMarinov/dialog_snippets","ref":"AMarinov/dialog_snippets","sha":"98162c10b287b56de0b84c536e4aeed7dcf61ad4","user":{"login":"dafo","id":2778393,"avatar_url":"https://avatars.githubusercontent.com/u/2778393?v=3","gravatar_id":"","url":"https://api.github.com/users/dafo","html_url":"https://github.com/dafo","followers_url":"https://api.github.com/users/dafo/followers","following_url":"https://api.github.com/users/dafo/following{/other_user}","gists_url":"https://api.github.com/users/dafo/gists{/gist_id}","starred_url":"https://api.github.com/users/dafo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dafo/subscriptions","organizations_url":"https://api.github.com/users/dafo/orgs","repos_url":"https://api.github.com/users/dafo/repos","events_url":"https://api.github.com/users/dafo/events{/privacy}","received_events_url":"https://api.github.com/users/dafo/received_events","type":"User","site_admin":false},"repo":{"id":62302703,"name":"ignite-ui","full_name":"dafo/ignite-ui","owner":{"login":"dafo","id":2778393,"avatar_url":"https://avatars.githubusercontent.com/u/2778393?v=3","gravatar_id":"","url":"https://api.github.com/users/dafo","html_url":"https://github.com/dafo","followers_url":"https://api.github.com/users/dafo/followers","following_url":"https://api.github.com/users/dafo/following{/other_user}","gists_url":"https://api.github.com/users/dafo/gists{/gist_id}","starred_url":"https://api.github.com/users/dafo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dafo/subscriptions","organizations_url":"https://api.github.com/users/dafo/orgs","repos_url":"https://api.github.com/users/dafo/repos","events_url":"https://api.github.com/users/dafo/events{/privacy}","received_events_url":"https://api.github.com/users/dafo/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dafo/ignite-ui","description":"Ignite UI by Infragistics","fork":true,"url":"https://api.github.com/repos/dafo/ignite-ui","forks_url":"https://api.github.com/repos/dafo/ignite-ui/forks","keys_url":"https://api.github.com/repos/dafo/ignite-ui/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dafo/ignite-ui/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dafo/ignite-ui/teams","hooks_url":"https://api.github.com/repos/dafo/ignite-ui/hooks","issue_events_url":"https://api.github.com/repos/dafo/ignite-ui/issues/events{/number}","events_url":"https://api.github.com/repos/dafo/ignite-ui/events","assignees_url":"https://api.github.com/repos/dafo/ignite-ui/assignees{/user}","branches_url":"https://api.github.com/repos/dafo/ignite-ui/branches{/branch}","tags_url":"https://api.github.com/repos/dafo/ignite-ui/tags","blobs_url":"https://api.github.com/repos/dafo/ignite-ui/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dafo/ignite-ui/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dafo/ignite-ui/git/refs{/sha}","trees_url":"https://api.github.com/repos/dafo/ignite-ui/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dafo/ignite-ui/statuses/{sha}","languages_url":"https://api.github.com/repos/dafo/ignite-ui/languages","stargazers_url":"https://api.github.com/repos/dafo/ignite-ui/stargazers","contributors_url":"https://api.github.com/repos/dafo/ignite-ui/contributors","subscribers_url":"https://api.github.com/repos/dafo/ignite-ui/subscribers","subscription_url":"https://api.github.com/repos/dafo/ignite-ui/subscription","commits_url":"https://api.github.com/repos/dafo/ignite-ui/commits{/sha}","git_commits_url":"https://api.github.com/repos/dafo/ignite-ui/git/commits{/sha}","comments_url":"https://api.github.com/repos/dafo/ignite-ui/comments{/number}","issue_comment_url":"https://api.github.com/repos/dafo/ignite-ui/issues/comments{/number}","contents_url":"https://api.github.com/repos/dafo/ignite-ui/contents/{+path}","compare_url":"https://api.github.com/repos/dafo/ignite-ui/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dafo/ignite-ui/merges","archive_url":"https://api.github.com/repos/dafo/ignite-ui/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dafo/ignite-ui/downloads","issues_url":"https://api.github.com/repos/dafo/ignite-ui/issues{/number}","pulls_url":"https://api.github.com/repos/dafo/ignite-ui/pulls{/number}","milestones_url":"https://api.github.com/repos/dafo/ignite-ui/milestones{/number}","notifications_url":"https://api.github.com/repos/dafo/ignite-ui/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dafo/ignite-ui/labels{/name}","releases_url":"https://api.github.com/repos/dafo/ignite-ui/releases{/id}","deployments_url":"https://api.github.com/repos/dafo/ignite-ui/deployments","created_at":"2016-06-30T10:37:34Z","updated_at":"2016-06-30T10:37:36Z","pushed_at":"2016-09-10T08:05:59Z","git_url":"git://github.com/dafo/ignite-ui.git","ssh_url":"git@github.com:dafo/ignite-ui.git","clone_url":"https://github.com/dafo/ignite-ui.git","svn_url":"https://github.com/dafo/ignite-ui","homepage":"http://www.igniteui.com/","size":40739,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"IgniteUI:master","ref":"master","sha":"0c79222af33bd31f35f8e7404e4694ec3e60eaa2","user":{"login":"IgniteUI","id":5366066,"avatar_url":"https://avatars.githubusercontent.com/u/5366066?v=3","gravatar_id":"","url":"https://api.github.com/users/IgniteUI","html_url":"https://github.com/IgniteUI","followers_url":"https://api.github.com/users/IgniteUI/followers","following_url":"https://api.github.com/users/IgniteUI/following{/other_user}","gists_url":"https://api.github.com/users/IgniteUI/gists{/gist_id}","starred_url":"https://api.github.com/users/IgniteUI/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IgniteUI/subscriptions","organizations_url":"https://api.github.com/users/IgniteUI/orgs","repos_url":"https://api.github.com/users/IgniteUI/repos","events_url":"https://api.github.com/users/IgniteUI/events{/privacy}","received_events_url":"https://api.github.com/users/IgniteUI/received_events","type":"Organization","site_admin":false},"repo":{"id":61560884,"name":"ignite-ui","full_name":"IgniteUI/ignite-ui","owner":{"login":"IgniteUI","id":5366066,"avatar_url":"https://avatars.githubusercontent.com/u/5366066?v=3","gravatar_id":"","url":"https://api.github.com/users/IgniteUI","html_url":"https://github.com/IgniteUI","followers_url":"https://api.github.com/users/IgniteUI/followers","following_url":"https://api.github.com/users/IgniteUI/following{/other_user}","gists_url":"https://api.github.com/users/IgniteUI/gists{/gist_id}","starred_url":"https://api.github.com/users/IgniteUI/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IgniteUI/subscriptions","organizations_url":"https://api.github.com/users/IgniteUI/orgs","repos_url":"https://api.github.com/users/IgniteUI/repos","events_url":"https://api.github.com/users/IgniteUI/events{/privacy}","received_events_url":"https://api.github.com/users/IgniteUI/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/IgniteUI/ignite-ui","description":"Ignite UI by Infragistics","fork":false,"url":"https://api.github.com/repos/IgniteUI/ignite-ui","forks_url":"https://api.github.com/repos/IgniteUI/ignite-ui/forks","keys_url":"https://api.github.com/repos/IgniteUI/ignite-ui/keys{/key_id}","collaborators_url":"https://api.github.com/repos/IgniteUI/ignite-ui/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/IgniteUI/ignite-ui/teams","hooks_url":"https://api.github.com/repos/IgniteUI/ignite-ui/hooks","issue_events_url":"https://api.github.com/repos/IgniteUI/ignite-ui/issues/events{/number}","events_url":"https://api.github.com/repos/IgniteUI/ignite-ui/events","assignees_url":"https://api.github.com/repos/IgniteUI/ignite-ui/assignees{/user}","branches_url":"https://api.github.com/repos/IgniteUI/ignite-ui/branches{/branch}","tags_url":"https://api.github.com/repos/IgniteUI/ignite-ui/tags","blobs_url":"https://api.github.com/repos/IgniteUI/ignite-ui/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/IgniteUI/ignite-ui/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/IgniteUI/ignite-ui/git/refs{/sha}","trees_url":"https://api.github.com/repos/IgniteUI/ignite-ui/git/trees{/sha}","statuses_url":"https://api.github.com/repos/IgniteUI/ignite-ui/statuses/{sha}","languages_url":"https://api.github.com/repos/IgniteUI/ignite-ui/languages","stargazers_url":"https://api.github.com/repos/IgniteUI/ignite-ui/stargazers","contributors_url":"https://api.github.com/repos/IgniteUI/ignite-ui/contributors","subscribers_url":"https://api.github.com/repos/IgniteUI/ignite-ui/subscribers","subscription_url":"https://api.github.com/repos/IgniteUI/ignite-ui/subscription","commits_url":"https://api.github.com/repos/IgniteUI/ignite-ui/commits{/sha}","git_commits_url":"https://api.github.com/repos/IgniteUI/ignite-ui/git/commits{/sha}","comments_url":"https://api.github.com/repos/IgniteUI/ignite-ui/comments{/number}","issue_comment_url":"https://api.github.com/repos/IgniteUI/ignite-ui/issues/comments{/number}","contents_url":"https://api.github.com/repos/IgniteUI/ignite-ui/contents/{+path}","compare_url":"https://api.github.com/repos/IgniteUI/ignite-ui/compare/{base}...{head}","merges_url":"https://api.github.com/repos/IgniteUI/ignite-ui/merges","archive_url":"https://api.github.com/repos/IgniteUI/ignite-ui/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/IgniteUI/ignite-ui/downloads","issues_url":"https://api.github.com/repos/IgniteUI/ignite-ui/issues{/number}","pulls_url":"https://api.github.com/repos/IgniteUI/ignite-ui/pulls{/number}","milestones_url":"https://api.github.com/repos/IgniteUI/ignite-ui/milestones{/number}","notifications_url":"https://api.github.com/repos/IgniteUI/ignite-ui/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/IgniteUI/ignite-ui/labels{/name}","releases_url":"https://api.github.com/repos/IgniteUI/ignite-ui/releases{/id}","deployments_url":"https://api.github.com/repos/IgniteUI/ignite-ui/deployments","created_at":"2016-06-20T16:00:45Z","updated_at":"2016-08-20T11:50:45Z","pushed_at":"2016-09-10T08:31:51Z","git_url":"git://github.com/IgniteUI/ignite-ui.git","ssh_url":"git@github.com:IgniteUI/ignite-ui.git","clone_url":"https://github.com/IgniteUI/ignite-ui.git","svn_url":"https://github.com/IgniteUI/ignite-ui","homepage":"http://www.igniteui.com/","size":40793,"stargazers_count":57,"watchers_count":57,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":29,"mirror_url":null,"open_issues_count":13,"forks":29,"open_issues":13,"watchers":57,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/IgniteUI/ignite-ui/pulls/304"},"html":{"href":"https://github.com/IgniteUI/ignite-ui/pull/304"},"issue":{"href":"https://api.github.com/repos/IgniteUI/ignite-ui/issues/304"},"comments":{"href":"https://api.github.com/repos/IgniteUI/ignite-ui/issues/304/comments"},"review_comments":{"href":"https://api.github.com/repos/IgniteUI/ignite-ui/pulls/304/comments"},"review_comment":{"href":"https://api.github.com/repos/IgniteUI/ignite-ui/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/IgniteUI/ignite-ui/pulls/304/commits"},"statuses":{"href":"https://api.github.com/repos/IgniteUI/ignite-ui/statuses/98162c10b287b56de0b84c536e4aeed7dcf61ad4"}}}}
{"actor":{"display_login":"kdinev"}}