{"action":"created","comment":{"url":"https://api.github.com/repos/IF-072/Product-Tracker/pulls/comments/103098543","pull_request_review_id":23876379,"id":103098543,"diff_hunk":"@@ -24,6 +27,29 @@ $(\"#dialog\").dialog({autoOpen:false,buttons:{\n \n });\n \n+function dellProduct(storeId, productId) {\n+    $(\"#dialogDel\").dialog(\"open\");\n+    storId = storeId;\n+    prodId = productId;\n+};\n+\n+$(\"#dialogDel\").dialog({autoOpen:false,buttons:{\n+    Delete:function(){\n+        $.ajax({\n+            url : \"/stores/delProduct\",\n+            method : \"POST\",\n+            data : {\n+                storeID: storId,\n+                 productID: prodId}\n+        });\n+        $(this).dialog(\"close\");\n+        setTimeout(function() {window.location.reload();}, 1000);","path":"MVCapplication/src/main/webapp/WEB-INF/resources/js/storeTable.js","position":30,"original_position":30,"commit_id":"c1048a95e608d667af543770488e94f6c32f4da8","original_commit_id":"c1048a95e608d667af543770488e94f6c32f4da8","user":{"login":"kucherif","id":1429463,"avatar_url":"https://avatars.githubusercontent.com/u/1429463?v=3","gravatar_id":"","url":"https://api.github.com/users/kucherif","html_url":"https://github.com/kucherif","followers_url":"https://api.github.com/users/kucherif/followers","following_url":"https://api.github.com/users/kucherif/following{/other_user}","gists_url":"https://api.github.com/users/kucherif/gists{/gist_id}","starred_url":"https://api.github.com/users/kucherif/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kucherif/subscriptions","organizations_url":"https://api.github.com/users/kucherif/orgs","repos_url":"https://api.github.com/users/kucherif/repos","events_url":"https://api.github.com/users/kucherif/events{/privacy}","received_events_url":"https://api.github.com/users/kucherif/received_events","type":"User","site_admin":false},"body":"you do not need ajax here. use plain request from jsp","created_at":"2017-02-26T08:33:48Z","updated_at":"2017-02-26T08:36:25Z","html_url":"https://github.com/IF-072/Product-Tracker/pull/94#discussion_r103098543","pull_request_url":"https://api.github.com/repos/IF-072/Product-Tracker/pulls/94","_links":{"self":{"href":"https://api.github.com/repos/IF-072/Product-Tracker/pulls/comments/103098543"},"html":{"href":"https://github.com/IF-072/Product-Tracker/pull/94#discussion_r103098543"},"pull_request":{"href":"https://api.github.com/repos/IF-072/Product-Tracker/pulls/94"}}},"pull_request":{"url":"https://api.github.com/repos/IF-072/Product-Tracker/pulls/94","id":107979886,"html_url":"https://github.com/IF-072/Product-Tracker/pull/94","diff_url":"https://github.com/IF-072/Product-Tracker/pull/94.diff","patch_url":"https://github.com/IF-072/Product-Tracker/pull/94.patch","issue_url":"https://api.github.com/repos/IF-072/Product-Tracker/issues/94","number":94,"state":"closed","locked":false,"title":"Nvyn","user":{"login":"NazarVynnyk","id":21282834,"avatar_url":"https://avatars.githubusercontent.com/u/21282834?v=3","gravatar_id":"","url":"https://api.github.com/users/NazarVynnyk","html_url":"https://github.com/NazarVynnyk","followers_url":"https://api.github.com/users/NazarVynnyk/followers","following_url":"https://api.github.com/users/NazarVynnyk/following{/other_user}","gists_url":"https://api.github.com/users/NazarVynnyk/gists{/gist_id}","starred_url":"https://api.github.com/users/NazarVynnyk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NazarVynnyk/subscriptions","organizations_url":"https://api.github.com/users/NazarVynnyk/orgs","repos_url":"https://api.github.com/users/NazarVynnyk/repos","events_url":"https://api.github.com/users/NazarVynnyk/events{/privacy}","received_events_url":"https://api.github.com/users/NazarVynnyk/received_events","type":"User","site_admin":false},"body":"Add funcktion for deleting products from store, changed validation","created_at":"2017-02-25T22:27:05Z","updated_at":"2017-02-26T08:36:25Z","closed_at":"2017-02-25T22:44:01Z","merged_at":"2017-02-25T22:44:01Z","merge_commit_sha":"77344825252da807c4488fc04eb74ab900324010","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/IF-072/Product-Tracker/pulls/94/commits","review_comments_url":"https://api.github.com/repos/IF-072/Product-Tracker/pulls/94/comments","review_comment_url":"https://api.github.com/repos/IF-072/Product-Tracker/pulls/comments{/number}","comments_url":"https://api.github.com/repos/IF-072/Product-Tracker/issues/94/comments","statuses_url":"https://api.github.com/repos/IF-072/Product-Tracker/statuses/c1048a95e608d667af543770488e94f6c32f4da8","head":{"label":"IF-072:nvyn","ref":"nvyn","sha":"c1048a95e608d667af543770488e94f6c32f4da8","user":{"login":"IF-072","id":9088949,"avatar_url":"https://avatars.githubusercontent.com/u/9088949?v=3","gravatar_id":"","url":"https://api.github.com/users/IF-072","html_url":"https://github.com/IF-072","followers_url":"https://api.github.com/users/IF-072/followers","following_url":"https://api.github.com/users/IF-072/following{/other_user}","gists_url":"https://api.github.com/users/IF-072/gists{/gist_id}","starred_url":"https://api.github.com/users/IF-072/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IF-072/subscriptions","organizations_url":"https://api.github.com/users/IF-072/orgs","repos_url":"https://api.github.com/users/IF-072/repos","events_url":"https://api.github.com/users/IF-072/events{/privacy}","received_events_url":"https://api.github.com/users/IF-072/received_events","type":"Organization","site_admin":false},"repo":{"id":77216088,"name":"Product-Tracker","full_name":"IF-072/Product-Tracker","owner":{"login":"IF-072","id":9088949,"avatar_url":"https://avatars.githubusercontent.com/u/9088949?v=3","gravatar_id":"","url":"https://api.github.com/users/IF-072","html_url":"https://github.com/IF-072","followers_url":"https://api.github.com/users/IF-072/followers","following_url":"https://api.github.com/users/IF-072/following{/other_user}","gists_url":"https://api.github.com/users/IF-072/gists{/gist_id}","starred_url":"https://api.github.com/users/IF-072/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IF-072/subscriptions","organizations_url":"https://api.github.com/users/IF-072/orgs","repos_url":"https://api.github.com/users/IF-072/repos","events_url":"https://api.github.com/users/IF-072/events{/privacy}","received_events_url":"https://api.github.com/users/IF-072/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/IF-072/Product-Tracker","description":null,"fork":false,"url":"https://api.github.com/repos/IF-072/Product-Tracker","forks_url":"https://api.github.com/repos/IF-072/Product-Tracker/forks","keys_url":"https://api.github.com/repos/IF-072/Product-Tracker/keys{/key_id}","collaborators_url":"https://api.github.com/repos/IF-072/Product-Tracker/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/IF-072/Product-Tracker/teams","hooks_url":"https://api.github.com/repos/IF-072/Product-Tracker/hooks","issue_events_url":"https://api.github.com/repos/IF-072/Product-Tracker/issues/events{/number}","events_url":"https://api.github.com/repos/IF-072/Product-Tracker/events","assignees_url":"https://api.github.com/repos/IF-072/Product-Tracker/assignees{/user}","branches_url":"https://api.github.com/repos/IF-072/Product-Tracker/branches{/branch}","tags_url":"https://api.github.com/repos/IF-072/Product-Tracker/tags","blobs_url":"https://api.github.com/repos/IF-072/Product-Tracker/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/IF-072/Product-Tracker/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/IF-072/Product-Tracker/git/refs{/sha}","trees_url":"https://api.github.com/repos/IF-072/Product-Tracker/git/trees{/sha}","statuses_url":"https://api.github.com/repos/IF-072/Product-Tracker/statuses/{sha}","languages_url":"https://api.github.com/repos/IF-072/Product-Tracker/languages","stargazers_url":"https://api.github.com/repos/IF-072/Product-Tracker/stargazers","contributors_url":"https://api.github.com/repos/IF-072/Product-Tracker/contributors","subscribers_url":"https://api.github.com/repos/IF-072/Product-Tracker/subscribers","subscription_url":"https://api.github.com/repos/IF-072/Product-Tracker/subscription","commits_url":"https://api.github.com/repos/IF-072/Product-Tracker/commits{/sha}","git_commits_url":"https://api.github.com/repos/IF-072/Product-Tracker/git/commits{/sha}","comments_url":"https://api.github.com/repos/IF-072/Product-Tracker/comments{/number}","issue_comment_url":"https://api.github.com/repos/IF-072/Product-Tracker/issues/comments{/number}","contents_url":"https://api.github.com/repos/IF-072/Product-Tracker/contents/{+path}","compare_url":"https://api.github.com/repos/IF-072/Product-Tracker/compare/{base}...{head}","merges_url":"https://api.github.com/repos/IF-072/Product-Tracker/merges","archive_url":"https://api.github.com/repos/IF-072/Product-Tracker/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/IF-072/Product-Tracker/downloads","issues_url":"https://api.github.com/repos/IF-072/Product-Tracker/issues{/number}","pulls_url":"https://api.github.com/repos/IF-072/Product-Tracker/pulls{/number}","milestones_url":"https://api.github.com/repos/IF-072/Product-Tracker/milestones{/number}","notifications_url":"https://api.github.com/repos/IF-072/Product-Tracker/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/IF-072/Product-Tracker/labels{/name}","releases_url":"https://api.github.com/repos/IF-072/Product-Tracker/releases{/id}","deployments_url":"https://api.github.com/repos/IF-072/Product-Tracker/deployments","created_at":"2016-12-23T09:51:32Z","updated_at":"2017-02-25T18:41:30Z","pushed_at":"2017-02-25T23:54:00Z","git_url":"git://github.com/IF-072/Product-Tracker.git","ssh_url":"git@github.com:IF-072/Product-Tracker.git","clone_url":"https://github.com/IF-072/Product-Tracker.git","svn_url":"https://github.com/IF-072/Product-Tracker","homepage":null,"size":2143,"stargazers_count":1,"watchers_count":1,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":0,"forks":2,"open_issues":0,"watchers":1,"default_branch":"master"}},"base":{"label":"IF-072:develop","ref":"develop","sha":"254c7c1bb6c5bd6b8dbd35adfbd5033b3140c430","user":{"login":"IF-072","id":9088949,"avatar_url":"https://avatars.githubusercontent.com/u/9088949?v=3","gravatar_id":"","url":"https://api.github.com/users/IF-072","html_url":"https://github.com/IF-072","followers_url":"https://api.github.com/users/IF-072/followers","following_url":"https://api.github.com/users/IF-072/following{/other_user}","gists_url":"https://api.github.com/users/IF-072/gists{/gist_id}","starred_url":"https://api.github.com/users/IF-072/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IF-072/subscriptions","organizations_url":"https://api.github.com/users/IF-072/orgs","repos_url":"https://api.github.com/users/IF-072/repos","events_url":"https://api.github.com/users/IF-072/events{/privacy}","received_events_url":"https://api.github.com/users/IF-072/received_events","type":"Organization","site_admin":false},"repo":{"id":77216088,"name":"Product-Tracker","full_name":"IF-072/Product-Tracker","owner":{"login":"IF-072","id":9088949,"avatar_url":"https://avatars.githubusercontent.com/u/9088949?v=3","gravatar_id":"","url":"https://api.github.com/users/IF-072","html_url":"https://github.com/IF-072","followers_url":"https://api.github.com/users/IF-072/followers","following_url":"https://api.github.com/users/IF-072/following{/other_user}","gists_url":"https://api.github.com/users/IF-072/gists{/gist_id}","starred_url":"https://api.github.com/users/IF-072/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IF-072/subscriptions","organizations_url":"https://api.github.com/users/IF-072/orgs","repos_url":"https://api.github.com/users/IF-072/repos","events_url":"https://api.github.com/users/IF-072/events{/privacy}","received_events_url":"https://api.github.com/users/IF-072/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/IF-072/Product-Tracker","description":null,"fork":false,"url":"https://api.github.com/repos/IF-072/Product-Tracker","forks_url":"https://api.github.com/repos/IF-072/Product-Tracker/forks","keys_url":"https://api.github.com/repos/IF-072/Product-Tracker/keys{/key_id}","collaborators_url":"https://api.github.com/repos/IF-072/Product-Tracker/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/IF-072/Product-Tracker/teams","hooks_url":"https://api.github.com/repos/IF-072/Product-Tracker/hooks","issue_events_url":"https://api.github.com/repos/IF-072/Product-Tracker/issues/events{/number}","events_url":"https://api.github.com/repos/IF-072/Product-Tracker/events","assignees_url":"https://api.github.com/repos/IF-072/Product-Tracker/assignees{/user}","branches_url":"https://api.github.com/repos/IF-072/Product-Tracker/branches{/branch}","tags_url":"https://api.github.com/repos/IF-072/Product-Tracker/tags","blobs_url":"https://api.github.com/repos/IF-072/Product-Tracker/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/IF-072/Product-Tracker/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/IF-072/Product-Tracker/git/refs{/sha}","trees_url":"https://api.github.com/repos/IF-072/Product-Tracker/git/trees{/sha}","statuses_url":"https://api.github.com/repos/IF-072/Product-Tracker/statuses/{sha}","languages_url":"https://api.github.com/repos/IF-072/Product-Tracker/languages","stargazers_url":"https://api.github.com/repos/IF-072/Product-Tracker/stargazers","contributors_url":"https://api.github.com/repos/IF-072/Product-Tracker/contributors","subscribers_url":"https://api.github.com/repos/IF-072/Product-Tracker/subscribers","subscription_url":"https://api.github.com/repos/IF-072/Product-Tracker/subscription","commits_url":"https://api.github.com/repos/IF-072/Product-Tracker/commits{/sha}","git_commits_url":"https://api.github.com/repos/IF-072/Product-Tracker/git/commits{/sha}","comments_url":"https://api.github.com/repos/IF-072/Product-Tracker/comments{/number}","issue_comment_url":"https://api.github.com/repos/IF-072/Product-Tracker/issues/comments{/number}","contents_url":"https://api.github.com/repos/IF-072/Product-Tracker/contents/{+path}","compare_url":"https://api.github.com/repos/IF-072/Product-Tracker/compare/{base}...{head}","merges_url":"https://api.github.com/repos/IF-072/Product-Tracker/merges","archive_url":"https://api.github.com/repos/IF-072/Product-Tracker/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/IF-072/Product-Tracker/downloads","issues_url":"https://api.github.com/repos/IF-072/Product-Tracker/issues{/number}","pulls_url":"https://api.github.com/repos/IF-072/Product-Tracker/pulls{/number}","milestones_url":"https://api.github.com/repos/IF-072/Product-Tracker/milestones{/number}","notifications_url":"https://api.github.com/repos/IF-072/Product-Tracker/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/IF-072/Product-Tracker/labels{/name}","releases_url":"https://api.github.com/repos/IF-072/Product-Tracker/releases{/id}","deployments_url":"https://api.github.com/repos/IF-072/Product-Tracker/deployments","created_at":"2016-12-23T09:51:32Z","updated_at":"2017-02-25T18:41:30Z","pushed_at":"2017-02-25T23:54:00Z","git_url":"git://github.com/IF-072/Product-Tracker.git","ssh_url":"git@github.com:IF-072/Product-Tracker.git","clone_url":"https://github.com/IF-072/Product-Tracker.git","svn_url":"https://github.com/IF-072/Product-Tracker","homepage":null,"size":2143,"stargazers_count":1,"watchers_count":1,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":0,"forks":2,"open_issues":0,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/IF-072/Product-Tracker/pulls/94"},"html":{"href":"https://github.com/IF-072/Product-Tracker/pull/94"},"issue":{"href":"https://api.github.com/repos/IF-072/Product-Tracker/issues/94"},"comments":{"href":"https://api.github.com/repos/IF-072/Product-Tracker/issues/94/comments"},"review_comments":{"href":"https://api.github.com/repos/IF-072/Product-Tracker/pulls/94/comments"},"review_comment":{"href":"https://api.github.com/repos/IF-072/Product-Tracker/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/IF-072/Product-Tracker/pulls/94/commits"},"statuses":{"href":"https://api.github.com/repos/IF-072/Product-Tracker/statuses/c1048a95e608d667af543770488e94f6c32f4da8"}}}}
{"actor":{"display_login":"kucherif"}}