{"action":"created","comment":{"url":"https://api.github.com/repos/wso2/carbon-governance/pulls/comments/76430156","id":76430156,"diff_hunk":"@@ -0,0 +1,209 @@\n+/*\r\n+ * Copyright (c) 2016, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.\r\n+ *\r\n+ *   WSO2 Inc. licenses this file to you under the Apache License,\r\n+ *   Version 2.0 (the \"License\"); you may not use this file except\r\n+ *   in compliance with the License.\r\n+ *   You may obtain a copy of the License at\r\n+ *\r\n+ *     http://www.apache.org/licenses/LICENSE-2.0\r\n+ *\r\n+ *  Unless required by applicable law or agreed to in writing,\r\n+ *  software distributed under the License is distributed on an\r\n+ *  \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\r\n+ *  KIND, either express or implied.  See the License for the\r\n+ *  specific language governing permissions and limitations\r\n+ *  under the License.\r\n+ */\r\n+\r\n+var DEFAULT_DIV_ID = 'nsEditor';\r\n+\r\n+//private method \r\n+function show_ns_editor(dID, id, mode, linkID) {\r\n+\r\n+    var sufix = \"\";\r\n+    if (linkID != undefined && linkID != null && linkID != \"null\" && linkID != \"\") {\r\n+        document.getElementById(linkID).style.display = \"none\";\r\n+        sufix = \"&linkID=\" + linkID;\r\n+    }\r\n+\r\n+    if (mode != undefined && mode != null) {\r\n+        sufix = \"&editorMode=\" + mode;\r\n+    }\r\n+\r\n+    var url = 'ns_editor-ajaxprocessor.jsp?currentID=' + id + '&divID=' + dID + sufix;\r\n+\r\n+    var loadingContent = \"<div id='workArea' style='overflow-x:hidden;'><div id='popupContent'><div class='ajax-loading-message'> <img src='../resources/images/ajax-loader.gif' align='top'/> <span>\" + org_wso2_carbon_governance_lcm_ui_jsi18n[\"ns.editor.waiting.text\"] + \"</span> </div></div></div>\";\r\n+    CARBON.showPopupDialog(loadingContent, org_wso2_carbon_governance_lcm_ui_jsi18n[\"ns.editor.title\"], 300, false, null, 550);\r\n+\r\n+    jQuery(\"#popupContent\").load(url, null,\r\n+        function (res, status, t) {\r\n+            if (status != \"success\") {\r\n+                CARBON.showWarningDialog(org_wso2_carbon_governance_lcm_ui_jsi18n[\"ns.editor.load.error\"]);\r\n+            }\r\n+        });\r\n+\r\n+\r\n+    return false;\r\n+}\r\n+\r\n+function showNameSpaceEditorOnDiv(dID, id) {\r\n+    return show_ns_editor(dID, id);\r\n+}\r","path":"components/governance/org.wso2.carbon.governance.taxonomy.ui/src/main/resources/web/taxonomy/js/ns-editor.js","position":52,"original_position":52,"commit_id":"00b25cdfbdfb76703d8361cb44bcfda356ca4b5e","original_commit_id":"00b25cdfbdfb76703d8361cb44bcfda356ca4b5e","user":{"login":"lahirue","id":15226007,"avatar_url":"https://avatars.githubusercontent.com/u/15226007?v=3","gravatar_id":"","url":"https://api.github.com/users/lahirue","html_url":"https://github.com/lahirue","followers_url":"https://api.github.com/users/lahirue/followers","following_url":"https://api.github.com/users/lahirue/following{/other_user}","gists_url":"https://api.github.com/users/lahirue/gists{/gist_id}","starred_url":"https://api.github.com/users/lahirue/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lahirue/subscriptions","organizations_url":"https://api.github.com/users/lahirue/orgs","repos_url":"https://api.github.com/users/lahirue/repos","events_url":"https://api.github.com/users/lahirue/events{/privacy}","received_events_url":"https://api.github.com/users/lahirue/received_events","type":"User","site_admin":false},"body":"Yes Sameera. This is an external library. Thank you for mentioning it ","created_at":"2016-08-26T14:43:21Z","updated_at":"2016-08-26T14:43:21Z","html_url":"https://github.com/wso2/carbon-governance/pull/216#discussion_r76430156","pull_request_url":"https://api.github.com/repos/wso2/carbon-governance/pulls/216","_links":{"self":{"href":"https://api.github.com/repos/wso2/carbon-governance/pulls/comments/76430156"},"html":{"href":"https://github.com/wso2/carbon-governance/pull/216#discussion_r76430156"},"pull_request":{"href":"https://api.github.com/repos/wso2/carbon-governance/pulls/216"}}},"pull_request":{"url":"https://api.github.com/repos/wso2/carbon-governance/pulls/216","id":75945223,"html_url":"https://github.com/wso2/carbon-governance/pull/216","diff_url":"https://github.com/wso2/carbon-governance/pull/216.diff","patch_url":"https://github.com/wso2/carbon-governance/pull/216.patch","issue_url":"https://api.github.com/repos/wso2/carbon-governance/issues/216","number":216,"state":"closed","locked":false,"title":"Adding multiple taxonomy feature","user":{"login":"lahirue","id":15226007,"avatar_url":"https://avatars.githubusercontent.com/u/15226007?v=3","gravatar_id":"","url":"https://api.github.com/users/lahirue","html_url":"https://github.com/lahirue","followers_url":"https://api.github.com/users/lahirue/followers","following_url":"https://api.github.com/users/lahirue/following{/other_user}","gists_url":"https://api.github.com/users/lahirue/gists{/gist_id}","starred_url":"https://api.github.com/users/lahirue/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lahirue/subscriptions","organizations_url":"https://api.github.com/users/lahirue/orgs","repos_url":"https://api.github.com/users/lahirue/repos","events_url":"https://api.github.com/users/lahirue/events{/privacy}","received_events_url":"https://api.github.com/users/lahirue/received_events","type":"User","site_admin":false},"body":"Adding multiple taxonomy feature","created_at":"2016-07-01T08:37:01Z","updated_at":"2016-08-26T14:43:21Z","closed_at":"2016-07-01T11:07:08Z","merged_at":"2016-07-01T11:07:08Z","merge_commit_sha":"7f4b27bf4fd28a13b47ff708907020e3c53b8572","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/wso2/carbon-governance/pulls/216/commits","review_comments_url":"https://api.github.com/repos/wso2/carbon-governance/pulls/216/comments","review_comment_url":"https://api.github.com/repos/wso2/carbon-governance/pulls/comments{/number}","comments_url":"https://api.github.com/repos/wso2/carbon-governance/issues/216/comments","statuses_url":"https://api.github.com/repos/wso2/carbon-governance/statuses/00b25cdfbdfb76703d8361cb44bcfda356ca4b5e","head":{"label":"lahirue:multiple-taxonomy-v2","ref":"multiple-taxonomy-v2","sha":"00b25cdfbdfb76703d8361cb44bcfda356ca4b5e","user":{"login":"lahirue","id":15226007,"avatar_url":"https://avatars.githubusercontent.com/u/15226007?v=3","gravatar_id":"","url":"https://api.github.com/users/lahirue","html_url":"https://github.com/lahirue","followers_url":"https://api.github.com/users/lahirue/followers","following_url":"https://api.github.com/users/lahirue/following{/other_user}","gists_url":"https://api.github.com/users/lahirue/gists{/gist_id}","starred_url":"https://api.github.com/users/lahirue/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lahirue/subscriptions","organizations_url":"https://api.github.com/users/lahirue/orgs","repos_url":"https://api.github.com/users/lahirue/repos","events_url":"https://api.github.com/users/lahirue/events{/privacy}","received_events_url":"https://api.github.com/users/lahirue/received_events","type":"User","site_admin":false},"repo":{"id":45957740,"name":"carbon-governance","full_name":"lahirue/carbon-governance","owner":{"login":"lahirue","id":15226007,"avatar_url":"https://avatars.githubusercontent.com/u/15226007?v=3","gravatar_id":"","url":"https://api.github.com/users/lahirue","html_url":"https://github.com/lahirue","followers_url":"https://api.github.com/users/lahirue/followers","following_url":"https://api.github.com/users/lahirue/following{/other_user}","gists_url":"https://api.github.com/users/lahirue/gists{/gist_id}","starred_url":"https://api.github.com/users/lahirue/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lahirue/subscriptions","organizations_url":"https://api.github.com/users/lahirue/orgs","repos_url":"https://api.github.com/users/lahirue/repos","events_url":"https://api.github.com/users/lahirue/events{/privacy}","received_events_url":"https://api.github.com/users/lahirue/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/lahirue/carbon-governance","description":"jagery","fork":true,"url":"https://api.github.com/repos/lahirue/carbon-governance","forks_url":"https://api.github.com/repos/lahirue/carbon-governance/forks","keys_url":"https://api.github.com/repos/lahirue/carbon-governance/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lahirue/carbon-governance/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lahirue/carbon-governance/teams","hooks_url":"https://api.github.com/repos/lahirue/carbon-governance/hooks","issue_events_url":"https://api.github.com/repos/lahirue/carbon-governance/issues/events{/number}","events_url":"https://api.github.com/repos/lahirue/carbon-governance/events","assignees_url":"https://api.github.com/repos/lahirue/carbon-governance/assignees{/user}","branches_url":"https://api.github.com/repos/lahirue/carbon-governance/branches{/branch}","tags_url":"https://api.github.com/repos/lahirue/carbon-governance/tags","blobs_url":"https://api.github.com/repos/lahirue/carbon-governance/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lahirue/carbon-governance/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lahirue/carbon-governance/git/refs{/sha}","trees_url":"https://api.github.com/repos/lahirue/carbon-governance/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lahirue/carbon-governance/statuses/{sha}","languages_url":"https://api.github.com/repos/lahirue/carbon-governance/languages","stargazers_url":"https://api.github.com/repos/lahirue/carbon-governance/stargazers","contributors_url":"https://api.github.com/repos/lahirue/carbon-governance/contributors","subscribers_url":"https://api.github.com/repos/lahirue/carbon-governance/subscribers","subscription_url":"https://api.github.com/repos/lahirue/carbon-governance/subscription","commits_url":"https://api.github.com/repos/lahirue/carbon-governance/commits{/sha}","git_commits_url":"https://api.github.com/repos/lahirue/carbon-governance/git/commits{/sha}","comments_url":"https://api.github.com/repos/lahirue/carbon-governance/comments{/number}","issue_comment_url":"https://api.github.com/repos/lahirue/carbon-governance/issues/comments{/number}","contents_url":"https://api.github.com/repos/lahirue/carbon-governance/contents/{+path}","compare_url":"https://api.github.com/repos/lahirue/carbon-governance/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lahirue/carbon-governance/merges","archive_url":"https://api.github.com/repos/lahirue/carbon-governance/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lahirue/carbon-governance/downloads","issues_url":"https://api.github.com/repos/lahirue/carbon-governance/issues{/number}","pulls_url":"https://api.github.com/repos/lahirue/carbon-governance/pulls{/number}","milestones_url":"https://api.github.com/repos/lahirue/carbon-governance/milestones{/number}","notifications_url":"https://api.github.com/repos/lahirue/carbon-governance/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lahirue/carbon-governance/labels{/name}","releases_url":"https://api.github.com/repos/lahirue/carbon-governance/releases{/id}","deployments_url":"https://api.github.com/repos/lahirue/carbon-governance/deployments","created_at":"2015-11-11T03:33:47Z","updated_at":"2015-11-11T03:33:51Z","pushed_at":"2016-08-26T14:40:13Z","git_url":"git://github.com/lahirue/carbon-governance.git","ssh_url":"git@github.com:lahirue/carbon-governance.git","clone_url":"https://github.com/lahirue/carbon-governance.git","svn_url":"https://github.com/lahirue/carbon-governance","homepage":"","size":5278,"stargazers_count":0,"watchers_count":0,"language":"Java","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":"wso2:master","ref":"master","sha":"62aa2c7ff6ee7f190af7a18bf2f40a822244a07f","user":{"login":"wso2","id":533043,"avatar_url":"https://avatars.githubusercontent.com/u/533043?v=3","gravatar_id":"","url":"https://api.github.com/users/wso2","html_url":"https://github.com/wso2","followers_url":"https://api.github.com/users/wso2/followers","following_url":"https://api.github.com/users/wso2/following{/other_user}","gists_url":"https://api.github.com/users/wso2/gists{/gist_id}","starred_url":"https://api.github.com/users/wso2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wso2/subscriptions","organizations_url":"https://api.github.com/users/wso2/orgs","repos_url":"https://api.github.com/users/wso2/repos","events_url":"https://api.github.com/users/wso2/events{/privacy}","received_events_url":"https://api.github.com/users/wso2/received_events","type":"Organization","site_admin":false},"repo":{"id":16097563,"name":"carbon-governance","full_name":"wso2/carbon-governance","owner":{"login":"wso2","id":533043,"avatar_url":"https://avatars.githubusercontent.com/u/533043?v=3","gravatar_id":"","url":"https://api.github.com/users/wso2","html_url":"https://github.com/wso2","followers_url":"https://api.github.com/users/wso2/followers","following_url":"https://api.github.com/users/wso2/following{/other_user}","gists_url":"https://api.github.com/users/wso2/gists{/gist_id}","starred_url":"https://api.github.com/users/wso2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wso2/subscriptions","organizations_url":"https://api.github.com/users/wso2/orgs","repos_url":"https://api.github.com/users/wso2/repos","events_url":"https://api.github.com/users/wso2/events{/privacy}","received_events_url":"https://api.github.com/users/wso2/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/wso2/carbon-governance","description":"jagery","fork":false,"url":"https://api.github.com/repos/wso2/carbon-governance","forks_url":"https://api.github.com/repos/wso2/carbon-governance/forks","keys_url":"https://api.github.com/repos/wso2/carbon-governance/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wso2/carbon-governance/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wso2/carbon-governance/teams","hooks_url":"https://api.github.com/repos/wso2/carbon-governance/hooks","issue_events_url":"https://api.github.com/repos/wso2/carbon-governance/issues/events{/number}","events_url":"https://api.github.com/repos/wso2/carbon-governance/events","assignees_url":"https://api.github.com/repos/wso2/carbon-governance/assignees{/user}","branches_url":"https://api.github.com/repos/wso2/carbon-governance/branches{/branch}","tags_url":"https://api.github.com/repos/wso2/carbon-governance/tags","blobs_url":"https://api.github.com/repos/wso2/carbon-governance/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wso2/carbon-governance/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wso2/carbon-governance/git/refs{/sha}","trees_url":"https://api.github.com/repos/wso2/carbon-governance/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wso2/carbon-governance/statuses/{sha}","languages_url":"https://api.github.com/repos/wso2/carbon-governance/languages","stargazers_url":"https://api.github.com/repos/wso2/carbon-governance/stargazers","contributors_url":"https://api.github.com/repos/wso2/carbon-governance/contributors","subscribers_url":"https://api.github.com/repos/wso2/carbon-governance/subscribers","subscription_url":"https://api.github.com/repos/wso2/carbon-governance/subscription","commits_url":"https://api.github.com/repos/wso2/carbon-governance/commits{/sha}","git_commits_url":"https://api.github.com/repos/wso2/carbon-governance/git/commits{/sha}","comments_url":"https://api.github.com/repos/wso2/carbon-governance/comments{/number}","issue_comment_url":"https://api.github.com/repos/wso2/carbon-governance/issues/comments{/number}","contents_url":"https://api.github.com/repos/wso2/carbon-governance/contents/{+path}","compare_url":"https://api.github.com/repos/wso2/carbon-governance/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wso2/carbon-governance/merges","archive_url":"https://api.github.com/repos/wso2/carbon-governance/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wso2/carbon-governance/downloads","issues_url":"https://api.github.com/repos/wso2/carbon-governance/issues{/number}","pulls_url":"https://api.github.com/repos/wso2/carbon-governance/pulls{/number}","milestones_url":"https://api.github.com/repos/wso2/carbon-governance/milestones{/number}","notifications_url":"https://api.github.com/repos/wso2/carbon-governance/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wso2/carbon-governance/labels{/name}","releases_url":"https://api.github.com/repos/wso2/carbon-governance/releases{/id}","deployments_url":"https://api.github.com/repos/wso2/carbon-governance/deployments","created_at":"2014-01-21T09:06:44Z","updated_at":"2016-01-11T08:42:44Z","pushed_at":"2016-08-26T14:40:13Z","git_url":"git://github.com/wso2/carbon-governance.git","ssh_url":"git@github.com:wso2/carbon-governance.git","clone_url":"https://github.com/wso2/carbon-governance.git","svn_url":"https://github.com/wso2/carbon-governance","homepage":"","size":5658,"stargazers_count":2,"watchers_count":2,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":62,"mirror_url":null,"open_issues_count":10,"forks":62,"open_issues":10,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/wso2/carbon-governance/pulls/216"},"html":{"href":"https://github.com/wso2/carbon-governance/pull/216"},"issue":{"href":"https://api.github.com/repos/wso2/carbon-governance/issues/216"},"comments":{"href":"https://api.github.com/repos/wso2/carbon-governance/issues/216/comments"},"review_comments":{"href":"https://api.github.com/repos/wso2/carbon-governance/pulls/216/comments"},"review_comment":{"href":"https://api.github.com/repos/wso2/carbon-governance/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/wso2/carbon-governance/pulls/216/commits"},"statuses":{"href":"https://api.github.com/repos/wso2/carbon-governance/statuses/00b25cdfbdfb76703d8361cb44bcfda356ca4b5e"}}}}
{"actor":{"display_login":"lahirue"}}