{"action":"created","comment":{"url":"https://api.github.com/repos/andela/suyabay/pulls/comments/57709315","id":57709315,"diff_hunk":"@@ -91,25 +60,37 @@ $(document).ready(function(){\n     /**\n      * onSubmit event to handle Channel update\n      */\n-    $(\"#channel_update\").submit( function () {\n-        var url                 = \"/dashboard/channel/edit\";\n-        var token               = $(\"#token\").val();\n-        var channel_id          = $(\"#channel_id\").val();\n-        var channel_name        = $(\"#channel_name\").val();\n-        var channel_description = $(\"#channel_description\").val();\n-\n-        var data = \n-        {\n-            url        : url,\n-            parameter  :\n+    $(\"#channel_update\").submit( function (event) {\n+\n+        event.preventDefault();\n+\n+        var channelName = $(\"#channel_name\").val().trim();\n+        var channelDescription = $(\"#channel_description\").val().trim();\n+\n+        if( channelName.length != 0 && channelDescription.length ) {\n+\n+            var data =\n             {\n-                _token                : token,\n-                channel_id            : channel_id,\n-                channel_name          : channel_name,\n-                channel_description   : channel_description\n+                url        : \"/dashboard/channel/edit\",\n+                parameter  :\n+                {\n+                    _token                : $(\"#token\").val(),\n+                    channel_id            : $(\"#channel_id\").val(),\n+                    channel_name          : channelName,","path":"public/js/admin.js","position":119,"original_position":119,"commit_id":"8b2574a84c0af514220251f63494b1ee5ba998d6","original_commit_id":"8b2574a84c0af514220251f63494b1ee5ba998d6","user":{"login":"houndci-bot","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","gravatar_id":"","url":"https://api.github.com/users/houndci-bot","html_url":"https://github.com/houndci-bot","followers_url":"https://api.github.com/users/houndci-bot/followers","following_url":"https://api.github.com/users/houndci-bot/following{/other_user}","gists_url":"https://api.github.com/users/houndci-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci-bot/subscriptions","organizations_url":"https://api.github.com/users/houndci-bot/orgs","repos_url":"https://api.github.com/users/houndci-bot/repos","events_url":"https://api.github.com/users/houndci-bot/events{/privacy}","received_events_url":"https://api.github.com/users/houndci-bot/received_events","type":"User","site_admin":false},"body":"Identifier 'channel_name' is not in camel case.","created_at":"2016-03-29T11:41:51Z","updated_at":"2016-03-29T11:41:51Z","html_url":"https://github.com/andela/suyabay/pull/239#discussion_r57709315","pull_request_url":"https://api.github.com/repos/andela/suyabay/pulls/239","_links":{"self":{"href":"https://api.github.com/repos/andela/suyabay/pulls/comments/57709315"},"html":{"href":"https://github.com/andela/suyabay/pull/239#discussion_r57709315"},"pull_request":{"href":"https://api.github.com/repos/andela/suyabay/pulls/239"}}},"pull_request":{"url":"https://api.github.com/repos/andela/suyabay/pulls/239","id":64452041,"html_url":"https://github.com/andela/suyabay/pull/239","diff_url":"https://github.com/andela/suyabay/pull/239.diff","patch_url":"https://github.com/andela/suyabay/pull/239.patch","issue_url":"https://api.github.com/repos/andela/suyabay/issues/239","number":239,"state":"open","locked":false,"title":"#116200243 Change column title from Channel to Description","user":{"login":"andela-cvundi","id":8840187,"avatar_url":"https://avatars.githubusercontent.com/u/8840187?v=3","gravatar_id":"","url":"https://api.github.com/users/andela-cvundi","html_url":"https://github.com/andela-cvundi","followers_url":"https://api.github.com/users/andela-cvundi/followers","following_url":"https://api.github.com/users/andela-cvundi/following{/other_user}","gists_url":"https://api.github.com/users/andela-cvundi/gists{/gist_id}","starred_url":"https://api.github.com/users/andela-cvundi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela-cvundi/subscriptions","organizations_url":"https://api.github.com/users/andela-cvundi/orgs","repos_url":"https://api.github.com/users/andela-cvundi/repos","events_url":"https://api.github.com/users/andela-cvundi/events{/privacy}","received_events_url":"https://api.github.com/users/andela-cvundi/received_events","type":"User","site_admin":false},"body":"#### What does this PR do?\r\n- Changes the column title channel to description in the admin dashboard homepage episodes listing\r\n \r\n#### Description of Task to be completed?\r\n- Change the column title from Channel to Description in the Episodes listing table\r\n\r\n#### How should this be manually tested?\r\n- Visit the admin dashboard.\r\n- In the episodes listing table next to the title, you should see description as the column title\r\n\r\n#### What are the relevant pivotal tracker stories?\r\n#116200243\r\n\r\n#### Screenshots (if appropriate)\r\n<img width=\"1041\" alt=\"screen shot 2016-03-29 at 2 29 31 pm\" src=\"https://cloud.githubusercontent.com/assets/8840187/14106566/b6404f40-f5ba-11e5-9cf7-90d2454eee95.png\">\r\n","created_at":"2016-03-29T11:41:37Z","updated_at":"2016-03-29T11:41:51Z","closed_at":null,"merged_at":null,"merge_commit_sha":"dcc22e2d4566d860d17166cecc9c578797f816f1","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/andela/suyabay/pulls/239/commits","review_comments_url":"https://api.github.com/repos/andela/suyabay/pulls/239/comments","review_comment_url":"https://api.github.com/repos/andela/suyabay/pulls/comments{/number}","comments_url":"https://api.github.com/repos/andela/suyabay/issues/239/comments","statuses_url":"https://api.github.com/repos/andela/suyabay/statuses/8b2574a84c0af514220251f63494b1ee5ba998d6","head":{"label":"andela:ch-renamechannel-#116200243","ref":"ch-renamechannel-#116200243","sha":"8b2574a84c0af514220251f63494b1ee5ba998d6","user":{"login":"andela","id":4100206,"avatar_url":"https://avatars.githubusercontent.com/u/4100206?v=3","gravatar_id":"","url":"https://api.github.com/users/andela","html_url":"https://github.com/andela","followers_url":"https://api.github.com/users/andela/followers","following_url":"https://api.github.com/users/andela/following{/other_user}","gists_url":"https://api.github.com/users/andela/gists{/gist_id}","starred_url":"https://api.github.com/users/andela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela/subscriptions","organizations_url":"https://api.github.com/users/andela/orgs","repos_url":"https://api.github.com/users/andela/repos","events_url":"https://api.github.com/users/andela/events{/privacy}","received_events_url":"https://api.github.com/users/andela/received_events","type":"Organization","site_admin":false},"repo":{"id":41855319,"name":"suyabay","full_name":"andela/suyabay","owner":{"login":"andela","id":4100206,"avatar_url":"https://avatars.githubusercontent.com/u/4100206?v=3","gravatar_id":"","url":"https://api.github.com/users/andela","html_url":"https://github.com/andela","followers_url":"https://api.github.com/users/andela/followers","following_url":"https://api.github.com/users/andela/following{/other_user}","gists_url":"https://api.github.com/users/andela/gists{/gist_id}","starred_url":"https://api.github.com/users/andela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela/subscriptions","organizations_url":"https://api.github.com/users/andela/orgs","repos_url":"https://api.github.com/users/andela/repos","events_url":"https://api.github.com/users/andela/events{/privacy}","received_events_url":"https://api.github.com/users/andela/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/andela/suyabay","description":"Awesome Podcast FM Network for Suya Lovers","fork":false,"url":"https://api.github.com/repos/andela/suyabay","forks_url":"https://api.github.com/repos/andela/suyabay/forks","keys_url":"https://api.github.com/repos/andela/suyabay/keys{/key_id}","collaborators_url":"https://api.github.com/repos/andela/suyabay/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/andela/suyabay/teams","hooks_url":"https://api.github.com/repos/andela/suyabay/hooks","issue_events_url":"https://api.github.com/repos/andela/suyabay/issues/events{/number}","events_url":"https://api.github.com/repos/andela/suyabay/events","assignees_url":"https://api.github.com/repos/andela/suyabay/assignees{/user}","branches_url":"https://api.github.com/repos/andela/suyabay/branches{/branch}","tags_url":"https://api.github.com/repos/andela/suyabay/tags","blobs_url":"https://api.github.com/repos/andela/suyabay/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/andela/suyabay/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/andela/suyabay/git/refs{/sha}","trees_url":"https://api.github.com/repos/andela/suyabay/git/trees{/sha}","statuses_url":"https://api.github.com/repos/andela/suyabay/statuses/{sha}","languages_url":"https://api.github.com/repos/andela/suyabay/languages","stargazers_url":"https://api.github.com/repos/andela/suyabay/stargazers","contributors_url":"https://api.github.com/repos/andela/suyabay/contributors","subscribers_url":"https://api.github.com/repos/andela/suyabay/subscribers","subscription_url":"https://api.github.com/repos/andela/suyabay/subscription","commits_url":"https://api.github.com/repos/andela/suyabay/commits{/sha}","git_commits_url":"https://api.github.com/repos/andela/suyabay/git/commits{/sha}","comments_url":"https://api.github.com/repos/andela/suyabay/comments{/number}","issue_comment_url":"https://api.github.com/repos/andela/suyabay/issues/comments{/number}","contents_url":"https://api.github.com/repos/andela/suyabay/contents/{+path}","compare_url":"https://api.github.com/repos/andela/suyabay/compare/{base}...{head}","merges_url":"https://api.github.com/repos/andela/suyabay/merges","archive_url":"https://api.github.com/repos/andela/suyabay/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/andela/suyabay/downloads","issues_url":"https://api.github.com/repos/andela/suyabay/issues{/number}","pulls_url":"https://api.github.com/repos/andela/suyabay/pulls{/number}","milestones_url":"https://api.github.com/repos/andela/suyabay/milestones{/number}","notifications_url":"https://api.github.com/repos/andela/suyabay/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/andela/suyabay/labels{/name}","releases_url":"https://api.github.com/repos/andela/suyabay/releases{/id}","deployments_url":"https://api.github.com/repos/andela/suyabay/deployments","created_at":"2015-09-03T11:00:56Z","updated_at":"2016-03-11T18:32:31Z","pushed_at":"2016-03-29T11:41:38Z","git_url":"git://github.com/andela/suyabay.git","ssh_url":"git@github.com:andela/suyabay.git","clone_url":"https://github.com/andela/suyabay.git","svn_url":"https://github.com/andela/suyabay","homepage":"https://suyabay-staging.herokuapp.com","size":35214,"stargazers_count":8,"watchers_count":8,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":12,"forks":4,"open_issues":12,"watchers":8,"default_branch":"staging"}},"base":{"label":"andela:staging","ref":"staging","sha":"3257cb06ea50887f51641a8418294ddb738e8781","user":{"login":"andela","id":4100206,"avatar_url":"https://avatars.githubusercontent.com/u/4100206?v=3","gravatar_id":"","url":"https://api.github.com/users/andela","html_url":"https://github.com/andela","followers_url":"https://api.github.com/users/andela/followers","following_url":"https://api.github.com/users/andela/following{/other_user}","gists_url":"https://api.github.com/users/andela/gists{/gist_id}","starred_url":"https://api.github.com/users/andela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela/subscriptions","organizations_url":"https://api.github.com/users/andela/orgs","repos_url":"https://api.github.com/users/andela/repos","events_url":"https://api.github.com/users/andela/events{/privacy}","received_events_url":"https://api.github.com/users/andela/received_events","type":"Organization","site_admin":false},"repo":{"id":41855319,"name":"suyabay","full_name":"andela/suyabay","owner":{"login":"andela","id":4100206,"avatar_url":"https://avatars.githubusercontent.com/u/4100206?v=3","gravatar_id":"","url":"https://api.github.com/users/andela","html_url":"https://github.com/andela","followers_url":"https://api.github.com/users/andela/followers","following_url":"https://api.github.com/users/andela/following{/other_user}","gists_url":"https://api.github.com/users/andela/gists{/gist_id}","starred_url":"https://api.github.com/users/andela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela/subscriptions","organizations_url":"https://api.github.com/users/andela/orgs","repos_url":"https://api.github.com/users/andela/repos","events_url":"https://api.github.com/users/andela/events{/privacy}","received_events_url":"https://api.github.com/users/andela/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/andela/suyabay","description":"Awesome Podcast FM Network for Suya Lovers","fork":false,"url":"https://api.github.com/repos/andela/suyabay","forks_url":"https://api.github.com/repos/andela/suyabay/forks","keys_url":"https://api.github.com/repos/andela/suyabay/keys{/key_id}","collaborators_url":"https://api.github.com/repos/andela/suyabay/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/andela/suyabay/teams","hooks_url":"https://api.github.com/repos/andela/suyabay/hooks","issue_events_url":"https://api.github.com/repos/andela/suyabay/issues/events{/number}","events_url":"https://api.github.com/repos/andela/suyabay/events","assignees_url":"https://api.github.com/repos/andela/suyabay/assignees{/user}","branches_url":"https://api.github.com/repos/andela/suyabay/branches{/branch}","tags_url":"https://api.github.com/repos/andela/suyabay/tags","blobs_url":"https://api.github.com/repos/andela/suyabay/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/andela/suyabay/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/andela/suyabay/git/refs{/sha}","trees_url":"https://api.github.com/repos/andela/suyabay/git/trees{/sha}","statuses_url":"https://api.github.com/repos/andela/suyabay/statuses/{sha}","languages_url":"https://api.github.com/repos/andela/suyabay/languages","stargazers_url":"https://api.github.com/repos/andela/suyabay/stargazers","contributors_url":"https://api.github.com/repos/andela/suyabay/contributors","subscribers_url":"https://api.github.com/repos/andela/suyabay/subscribers","subscription_url":"https://api.github.com/repos/andela/suyabay/subscription","commits_url":"https://api.github.com/repos/andela/suyabay/commits{/sha}","git_commits_url":"https://api.github.com/repos/andela/suyabay/git/commits{/sha}","comments_url":"https://api.github.com/repos/andela/suyabay/comments{/number}","issue_comment_url":"https://api.github.com/repos/andela/suyabay/issues/comments{/number}","contents_url":"https://api.github.com/repos/andela/suyabay/contents/{+path}","compare_url":"https://api.github.com/repos/andela/suyabay/compare/{base}...{head}","merges_url":"https://api.github.com/repos/andela/suyabay/merges","archive_url":"https://api.github.com/repos/andela/suyabay/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/andela/suyabay/downloads","issues_url":"https://api.github.com/repos/andela/suyabay/issues{/number}","pulls_url":"https://api.github.com/repos/andela/suyabay/pulls{/number}","milestones_url":"https://api.github.com/repos/andela/suyabay/milestones{/number}","notifications_url":"https://api.github.com/repos/andela/suyabay/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/andela/suyabay/labels{/name}","releases_url":"https://api.github.com/repos/andela/suyabay/releases{/id}","deployments_url":"https://api.github.com/repos/andela/suyabay/deployments","created_at":"2015-09-03T11:00:56Z","updated_at":"2016-03-11T18:32:31Z","pushed_at":"2016-03-29T11:41:38Z","git_url":"git://github.com/andela/suyabay.git","ssh_url":"git@github.com:andela/suyabay.git","clone_url":"https://github.com/andela/suyabay.git","svn_url":"https://github.com/andela/suyabay","homepage":"https://suyabay-staging.herokuapp.com","size":35214,"stargazers_count":8,"watchers_count":8,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":12,"forks":4,"open_issues":12,"watchers":8,"default_branch":"staging"}},"_links":{"self":{"href":"https://api.github.com/repos/andela/suyabay/pulls/239"},"html":{"href":"https://github.com/andela/suyabay/pull/239"},"issue":{"href":"https://api.github.com/repos/andela/suyabay/issues/239"},"comments":{"href":"https://api.github.com/repos/andela/suyabay/issues/239/comments"},"review_comments":{"href":"https://api.github.com/repos/andela/suyabay/pulls/239/comments"},"review_comment":{"href":"https://api.github.com/repos/andela/suyabay/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/andela/suyabay/pulls/239/commits"},"statuses":{"href":"https://api.github.com/repos/andela/suyabay/statuses/8b2574a84c0af514220251f63494b1ee5ba998d6"}}}}