{"action":"created","issue":{"url":"https://api.github.com/repos/ndlibersa/resources/issues/30","labels_url":"https://api.github.com/repos/ndlibersa/resources/issues/30/labels{/name}","comments_url":"https://api.github.com/repos/ndlibersa/resources/issues/30/comments","events_url":"https://api.github.com/repos/ndlibersa/resources/issues/30/events","html_url":"https://github.com/ndlibersa/resources/pull/30","id":45964140,"number":30,"title":"Cost history enhancements","user":{"login":"nkuitse","id":161569,"avatar_url":"https://avatars.githubusercontent.com/u/161569?v=3","gravatar_id":"","url":"https://api.github.com/users/nkuitse","html_url":"https://github.com/nkuitse","followers_url":"https://api.github.com/users/nkuitse/followers","following_url":"https://api.github.com/users/nkuitse/following{/other_user}","gists_url":"https://api.github.com/users/nkuitse/gists{/gist_id}","starred_url":"https://api.github.com/users/nkuitse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nkuitse/subscriptions","organizations_url":"https://api.github.com/users/nkuitse/orgs","repos_url":"https://api.github.com/users/nkuitse/repos","events_url":"https://api.github.com/users/nkuitse/events{/privacy}","received_events_url":"https://api.github.com/users/nkuitse/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":39,"created_at":"2014-10-16T09:13:39Z","updated_at":"2015-03-25T18:20:11Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ndlibersa/resources/pulls/30","html_url":"https://github.com/ndlibersa/resources/pull/30","diff_url":"https://github.com/ndlibersa/resources/pull/30.diff","patch_url":"https://github.com/ndlibersa/resources/pull/30.patch"},"body":"I've broken ajax_*.php down into separate files, one for each case in the three big switch statements."},"comment":{"url":"https://api.github.com/repos/ndlibersa/resources/issues/comments/86157862","html_url":"https://github.com/ndlibersa/resources/pull/30#issuecomment-86157862","issue_url":"https://api.github.com/repos/ndlibersa/resources/issues/30","id":86157862,"user":{"login":"remocrevo","id":8701105,"avatar_url":"https://avatars.githubusercontent.com/u/8701105?v=3","gravatar_id":"","url":"https://api.github.com/users/remocrevo","html_url":"https://github.com/remocrevo","followers_url":"https://api.github.com/users/remocrevo/followers","following_url":"https://api.github.com/users/remocrevo/following{/other_user}","gists_url":"https://api.github.com/users/remocrevo/gists{/gist_id}","starred_url":"https://api.github.com/users/remocrevo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/remocrevo/subscriptions","organizations_url":"https://api.github.com/users/remocrevo/orgs","repos_url":"https://api.github.com/users/remocrevo/repos","events_url":"https://api.github.com/users/remocrevo/events{/privacy}","received_events_url":"https://api.github.com/users/remocrevo/received_events","type":"User","site_admin":false},"created_at":"2015-03-25T18:20:11Z","updated_at":"2015-03-25T18:20:11Z","body":"Hm, the date picker fix does look pretty hacky. I'm impressed that you figured it out, but I think it's best if we can find a better way. So my colleague and I installed this branch, tested it, and found a slightly simpler fix. Tell me what you think. You should be able to replace your whole change with the following four lines:\r\n\r\n// Remove datepickers from clone\r\noriginalTR.find('.dp-choose-date').remove();\r\n// Re-add datepickers to clone\r\noriginalTR.find('.date-pick').datePicker({startDate:'01/01/1996'});\r\n\r\nLooking into it a little more, it seems we are on a very old version of jQuery, and an even older version of the date picker plugin. Ultimately, we need to upgrade CORAL to a modern version of jQuery and make sure we keep up with new versions in the future. But for now, I will create a separate issue for that."}}