{"action":"created","comment":{"url":"https://api.github.com/repos/sulu-io/SuluProductBundle/pulls/comments/30031436","id":30031436,"diff_hunk":"@@ -132,36 +135,84 @@ define(['text!suluproduct/components/bulk-price/bulk-price.html'], function(Bulk\n                 }\n             }.bind(this));\n \n+            // special prices\n+            var specialPrice = {};\n+            specialPrice.currency = {};\n+            specialPrice.start = $('#husky-input-js-dateFrom' + this.options.currency.code).val();\n+            specialPrice.end = $('#husky-input-js-dateTo' + this.options.currency.code).val();\n+            specialPrice.price = $('#js-input' + this.options.currency.code).val();","path":"Resources/public/js/components/bulk-price/main.js","position":23,"original_position":23,"commit_id":"8a1bac7fb510f8d03b90189c3c5556a273878de6","original_commit_id":"8a1bac7fb510f8d03b90189c3c5556a273878de6","user":{"login":"notsure","id":922237,"avatar_url":"https://avatars.githubusercontent.com/u/922237?v=3","gravatar_id":"","url":"https://api.github.com/users/notsure","html_url":"https://github.com/notsure","followers_url":"https://api.github.com/users/notsure/followers","following_url":"https://api.github.com/users/notsure/following{/other_user}","gists_url":"https://api.github.com/users/notsure/gists{/gist_id}","starred_url":"https://api.github.com/users/notsure/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/notsure/subscriptions","organizations_url":"https://api.github.com/users/notsure/orgs","repos_url":"https://api.github.com/users/notsure/repos","events_url":"https://api.github.com/users/notsure/events{/privacy}","received_events_url":"https://api.github.com/users/notsure/received_events","type":"User","site_admin":false},"body":"the id should look like this: ```#js-husky-bulk-price-input-price````\r\n","created_at":"2015-05-11T11:47:41Z","updated_at":"2015-05-11T11:47:41Z","html_url":"https://github.com/sulu-io/SuluProductBundle/pull/156#discussion_r30031436","pull_request_url":"https://api.github.com/repos/sulu-io/SuluProductBundle/pulls/156","_links":{"self":{"href":"https://api.github.com/repos/sulu-io/SuluProductBundle/pulls/comments/30031436"},"html":{"href":"https://github.com/sulu-io/SuluProductBundle/pull/156#discussion_r30031436"},"pull_request":{"href":"https://api.github.com/repos/sulu-io/SuluProductBundle/pulls/156"}}},"pull_request":{"url":"https://api.github.com/repos/sulu-io/SuluProductBundle/pulls/156","id":35001460,"html_url":"https://github.com/sulu-io/SuluProductBundle/pull/156","diff_url":"https://github.com/sulu-io/SuluProductBundle/pull/156.diff","patch_url":"https://github.com/sulu-io/SuluProductBundle/pull/156.patch","issue_url":"https://api.github.com/repos/sulu-io/SuluProductBundle/issues/156","number":156,"state":"open","locked":false,"title":"Feature/special price frontend","user":{"login":"xandrej","id":4947276,"avatar_url":"https://avatars.githubusercontent.com/u/4947276?v=3","gravatar_id":"","url":"https://api.github.com/users/xandrej","html_url":"https://github.com/xandrej","followers_url":"https://api.github.com/users/xandrej/followers","following_url":"https://api.github.com/users/xandrej/following{/other_user}","gists_url":"https://api.github.com/users/xandrej/gists{/gist_id}","starred_url":"https://api.github.com/users/xandrej/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xandrej/subscriptions","organizations_url":"https://api.github.com/users/xandrej/orgs","repos_url":"https://api.github.com/users/xandrej/repos","events_url":"https://api.github.com/users/xandrej/events{/privacy}","received_events_url":"https://api.github.com/users/xandrej/received_events","type":"User","site_admin":false},"body":"__Tasks:__\r\n- [x] done\r\n- [ ] todo\r\n- [ ] got feedback\r\n\r\n__Informations: frontend for special prices\r\n\r\n| Q            | A\r\n| ------------- | ---\r\n| Bug fix?      | no\r\n| New feature?  | yes\r\n| Tests pass?  | yes\r\n| Fixed tickets | https://github.com/massiveart/POOL-ALPIN/issues/1149\r\n| Doc          | none","created_at":"2015-05-08T11:39:08Z","updated_at":"2015-05-11T11:47:41Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ad3638eb863b6d3dd38cfa2c3d9db4a20967082d","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/sulu-io/SuluProductBundle/pulls/156/commits","review_comments_url":"https://api.github.com/repos/sulu-io/SuluProductBundle/pulls/156/comments","review_comment_url":"https://api.github.com/repos/sulu-io/SuluProductBundle/pulls/comments{/number}","comments_url":"https://api.github.com/repos/sulu-io/SuluProductBundle/issues/156/comments","statuses_url":"https://api.github.com/repos/sulu-io/SuluProductBundle/statuses/8a1bac7fb510f8d03b90189c3c5556a273878de6","head":{"label":"sulu-io:feature/special-price-frontend","ref":"feature/special-price-frontend","sha":"8a1bac7fb510f8d03b90189c3c5556a273878de6","user":{"login":"sulu-io","id":5717006,"avatar_url":"https://avatars.githubusercontent.com/u/5717006?v=3","gravatar_id":"","url":"https://api.github.com/users/sulu-io","html_url":"https://github.com/sulu-io","followers_url":"https://api.github.com/users/sulu-io/followers","following_url":"https://api.github.com/users/sulu-io/following{/other_user}","gists_url":"https://api.github.com/users/sulu-io/gists{/gist_id}","starred_url":"https://api.github.com/users/sulu-io/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sulu-io/subscriptions","organizations_url":"https://api.github.com/users/sulu-io/orgs","repos_url":"https://api.github.com/users/sulu-io/repos","events_url":"https://api.github.com/users/sulu-io/events{/privacy}","received_events_url":"https://api.github.com/users/sulu-io/received_events","type":"Organization","site_admin":false},"repo":{"id":17173120,"name":"SuluProductBundle","full_name":"sulu-io/SuluProductBundle","owner":{"login":"sulu-io","id":5717006,"avatar_url":"https://avatars.githubusercontent.com/u/5717006?v=3","gravatar_id":"","url":"https://api.github.com/users/sulu-io","html_url":"https://github.com/sulu-io","followers_url":"https://api.github.com/users/sulu-io/followers","following_url":"https://api.github.com/users/sulu-io/following{/other_user}","gists_url":"https://api.github.com/users/sulu-io/gists{/gist_id}","starred_url":"https://api.github.com/users/sulu-io/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sulu-io/subscriptions","organizations_url":"https://api.github.com/users/sulu-io/orgs","repos_url":"https://api.github.com/users/sulu-io/repos","events_url":"https://api.github.com/users/sulu-io/events{/privacy}","received_events_url":"https://api.github.com/users/sulu-io/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/sulu-io/SuluProductBundle","description":"","fork":false,"url":"https://api.github.com/repos/sulu-io/SuluProductBundle","forks_url":"https://api.github.com/repos/sulu-io/SuluProductBundle/forks","keys_url":"https://api.github.com/repos/sulu-io/SuluProductBundle/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sulu-io/SuluProductBundle/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sulu-io/SuluProductBundle/teams","hooks_url":"https://api.github.com/repos/sulu-io/SuluProductBundle/hooks","issue_events_url":"https://api.github.com/repos/sulu-io/SuluProductBundle/issues/events{/number}","events_url":"https://api.github.com/repos/sulu-io/SuluProductBundle/events","assignees_url":"https://api.github.com/repos/sulu-io/SuluProductBundle/assignees{/user}","branches_url":"https://api.github.com/repos/sulu-io/SuluProductBundle/branches{/branch}","tags_url":"https://api.github.com/repos/sulu-io/SuluProductBundle/tags","blobs_url":"https://api.github.com/repos/sulu-io/SuluProductBundle/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sulu-io/SuluProductBundle/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sulu-io/SuluProductBundle/git/refs{/sha}","trees_url":"https://api.github.com/repos/sulu-io/SuluProductBundle/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sulu-io/SuluProductBundle/statuses/{sha}","languages_url":"https://api.github.com/repos/sulu-io/SuluProductBundle/languages","stargazers_url":"https://api.github.com/repos/sulu-io/SuluProductBundle/stargazers","contributors_url":"https://api.github.com/repos/sulu-io/SuluProductBundle/contributors","subscribers_url":"https://api.github.com/repos/sulu-io/SuluProductBundle/subscribers","subscription_url":"https://api.github.com/repos/sulu-io/SuluProductBundle/subscription","commits_url":"https://api.github.com/repos/sulu-io/SuluProductBundle/commits{/sha}","git_commits_url":"https://api.github.com/repos/sulu-io/SuluProductBundle/git/commits{/sha}","comments_url":"https://api.github.com/repos/sulu-io/SuluProductBundle/comments{/number}","issue_comment_url":"https://api.github.com/repos/sulu-io/SuluProductBundle/issues/comments{/number}","contents_url":"https://api.github.com/repos/sulu-io/SuluProductBundle/contents/{+path}","compare_url":"https://api.github.com/repos/sulu-io/SuluProductBundle/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sulu-io/SuluProductBundle/merges","archive_url":"https://api.github.com/repos/sulu-io/SuluProductBundle/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sulu-io/SuluProductBundle/downloads","issues_url":"https://api.github.com/repos/sulu-io/SuluProductBundle/issues{/number}","pulls_url":"https://api.github.com/repos/sulu-io/SuluProductBundle/pulls{/number}","milestones_url":"https://api.github.com/repos/sulu-io/SuluProductBundle/milestones{/number}","notifications_url":"https://api.github.com/repos/sulu-io/SuluProductBundle/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sulu-io/SuluProductBundle/labels{/name}","releases_url":"https://api.github.com/repos/sulu-io/SuluProductBundle/releases{/id}","created_at":"2014-02-25T13:03:06Z","updated_at":"2015-05-08T10:52:19Z","pushed_at":"2015-05-11T11:42:43Z","git_url":"git://github.com/sulu-io/SuluProductBundle.git","ssh_url":"git@github.com:sulu-io/SuluProductBundle.git","clone_url":"https://github.com/sulu-io/SuluProductBundle.git","svn_url":"https://github.com/sulu-io/SuluProductBundle","homepage":null,"size":3400,"stargazers_count":1,"watchers_count":1,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":19,"forks":0,"open_issues":19,"watchers":1,"default_branch":"develop"}},"base":{"label":"sulu-io:develop","ref":"develop","sha":"1e8d62c932bc127067f3cbebbab050b2e2300114","user":{"login":"sulu-io","id":5717006,"avatar_url":"https://avatars.githubusercontent.com/u/5717006?v=3","gravatar_id":"","url":"https://api.github.com/users/sulu-io","html_url":"https://github.com/sulu-io","followers_url":"https://api.github.com/users/sulu-io/followers","following_url":"https://api.github.com/users/sulu-io/following{/other_user}","gists_url":"https://api.github.com/users/sulu-io/gists{/gist_id}","starred_url":"https://api.github.com/users/sulu-io/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sulu-io/subscriptions","organizations_url":"https://api.github.com/users/sulu-io/orgs","repos_url":"https://api.github.com/users/sulu-io/repos","events_url":"https://api.github.com/users/sulu-io/events{/privacy}","received_events_url":"https://api.github.com/users/sulu-io/received_events","type":"Organization","site_admin":false},"repo":{"id":17173120,"name":"SuluProductBundle","full_name":"sulu-io/SuluProductBundle","owner":{"login":"sulu-io","id":5717006,"avatar_url":"https://avatars.githubusercontent.com/u/5717006?v=3","gravatar_id":"","url":"https://api.github.com/users/sulu-io","html_url":"https://github.com/sulu-io","followers_url":"https://api.github.com/users/sulu-io/followers","following_url":"https://api.github.com/users/sulu-io/following{/other_user}","gists_url":"https://api.github.com/users/sulu-io/gists{/gist_id}","starred_url":"https://api.github.com/users/sulu-io/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sulu-io/subscriptions","organizations_url":"https://api.github.com/users/sulu-io/orgs","repos_url":"https://api.github.com/users/sulu-io/repos","events_url":"https://api.github.com/users/sulu-io/events{/privacy}","received_events_url":"https://api.github.com/users/sulu-io/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/sulu-io/SuluProductBundle","description":"","fork":false,"url":"https://api.github.com/repos/sulu-io/SuluProductBundle","forks_url":"https://api.github.com/repos/sulu-io/SuluProductBundle/forks","keys_url":"https://api.github.com/repos/sulu-io/SuluProductBundle/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sulu-io/SuluProductBundle/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sulu-io/SuluProductBundle/teams","hooks_url":"https://api.github.com/repos/sulu-io/SuluProductBundle/hooks","issue_events_url":"https://api.github.com/repos/sulu-io/SuluProductBundle/issues/events{/number}","events_url":"https://api.github.com/repos/sulu-io/SuluProductBundle/events","assignees_url":"https://api.github.com/repos/sulu-io/SuluProductBundle/assignees{/user}","branches_url":"https://api.github.com/repos/sulu-io/SuluProductBundle/branches{/branch}","tags_url":"https://api.github.com/repos/sulu-io/SuluProductBundle/tags","blobs_url":"https://api.github.com/repos/sulu-io/SuluProductBundle/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sulu-io/SuluProductBundle/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sulu-io/SuluProductBundle/git/refs{/sha}","trees_url":"https://api.github.com/repos/sulu-io/SuluProductBundle/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sulu-io/SuluProductBundle/statuses/{sha}","languages_url":"https://api.github.com/repos/sulu-io/SuluProductBundle/languages","stargazers_url":"https://api.github.com/repos/sulu-io/SuluProductBundle/stargazers","contributors_url":"https://api.github.com/repos/sulu-io/SuluProductBundle/contributors","subscribers_url":"https://api.github.com/repos/sulu-io/SuluProductBundle/subscribers","subscription_url":"https://api.github.com/repos/sulu-io/SuluProductBundle/subscription","commits_url":"https://api.github.com/repos/sulu-io/SuluProductBundle/commits{/sha}","git_commits_url":"https://api.github.com/repos/sulu-io/SuluProductBundle/git/commits{/sha}","comments_url":"https://api.github.com/repos/sulu-io/SuluProductBundle/comments{/number}","issue_comment_url":"https://api.github.com/repos/sulu-io/SuluProductBundle/issues/comments{/number}","contents_url":"https://api.github.com/repos/sulu-io/SuluProductBundle/contents/{+path}","compare_url":"https://api.github.com/repos/sulu-io/SuluProductBundle/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sulu-io/SuluProductBundle/merges","archive_url":"https://api.github.com/repos/sulu-io/SuluProductBundle/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sulu-io/SuluProductBundle/downloads","issues_url":"https://api.github.com/repos/sulu-io/SuluProductBundle/issues{/number}","pulls_url":"https://api.github.com/repos/sulu-io/SuluProductBundle/pulls{/number}","milestones_url":"https://api.github.com/repos/sulu-io/SuluProductBundle/milestones{/number}","notifications_url":"https://api.github.com/repos/sulu-io/SuluProductBundle/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sulu-io/SuluProductBundle/labels{/name}","releases_url":"https://api.github.com/repos/sulu-io/SuluProductBundle/releases{/id}","created_at":"2014-02-25T13:03:06Z","updated_at":"2015-05-08T10:52:19Z","pushed_at":"2015-05-11T11:42:43Z","git_url":"git://github.com/sulu-io/SuluProductBundle.git","ssh_url":"git@github.com:sulu-io/SuluProductBundle.git","clone_url":"https://github.com/sulu-io/SuluProductBundle.git","svn_url":"https://github.com/sulu-io/SuluProductBundle","homepage":null,"size":3400,"stargazers_count":1,"watchers_count":1,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":19,"forks":0,"open_issues":19,"watchers":1,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/sulu-io/SuluProductBundle/pulls/156"},"html":{"href":"https://github.com/sulu-io/SuluProductBundle/pull/156"},"issue":{"href":"https://api.github.com/repos/sulu-io/SuluProductBundle/issues/156"},"comments":{"href":"https://api.github.com/repos/sulu-io/SuluProductBundle/issues/156/comments"},"review_comments":{"href":"https://api.github.com/repos/sulu-io/SuluProductBundle/pulls/156/comments"},"review_comment":{"href":"https://api.github.com/repos/sulu-io/SuluProductBundle/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/sulu-io/SuluProductBundle/pulls/156/commits"},"statuses":{"href":"https://api.github.com/repos/sulu-io/SuluProductBundle/statuses/8a1bac7fb510f8d03b90189c3c5556a273878de6"}}}}