{"action":"created","comment":{"url":"https://api.github.com/repos/Southpaw-TACTIC/TACTIC/pulls/comments/49516261","id":49516261,"diff_hunk":"@@ -1709,39 +1709,70 @@ def get_scale_wdg(my):\n }\n \n spt.tile_layout.image_drag_action = function(evt, bvr, mouse_411) {\n+    \n+    var row = bvr.src_el.getParent(\".spt_table_row\");\n+\n+    var checkbox = row.getElement(\".spt_tile_checkbox\");\n+    var bg = row.getElement(\".spt_tile_bg\");\n+    checkbox.checked = true;\n+    spt.table.select_row(row);\n+    bg.setStyle(\"opacity\", \"0.7\");\n \n     var dst_el = spt.get_event_target(evt);\n     var dst_top = dst_el.hasClass(\"spt_tile_top\") ? dst_el : dst_el.getParent(\".spt_tile_top\");\n+    \n+    var layout = bvr.src_el.getParent(\".spt_layout\");\n+    var src_top = bvr.src_el.getParent(\".spt_tile_top\");\n \n     if (dst_top) {\n         if( bvr._drag_copy_el ) {\n             spt.behavior.destroy_element(bvr._drag_copy_el);\n         }\n-\n-        // add to the collection\n+        var selected_tiles = spt.table.get_selected_rows();\n+        \n         var parent_key = dst_top.getAttribute(\"spt_search_key\");\n         var server = TacticServerStub.get();\n         var parent = server.get_by_search_key(parent_key);\n-        if (parent._is_collection == true) {\n+        var parent_code = dst_top.getAttribute(\"spt_search_code\");\n \n-            var layout = bvr.src_el.getParent(\".spt_layout\");\n-            var collection_type = layout.getAttribute(\"spt_collection_type\");\n-            var src_top = bvr.src_el.getParent(\".spt_tile_top\");\n-            var src_code = src_top.getAttribute(\"spt_search_code\");\n-            var parent_code = dst_top.getAttribute(\"spt_search_code\");\n+        var collection_type = layout.getAttribute(\"spt_collection_type\");\n+\n+        if (parent._is_collection == true) {\n             ","path":"src/tactic/ui/panel/tile_layout_wdg.py","position":41,"original_position":41,"commit_id":"a35c58dab00da43647d9688c277fd8b86d54445d","original_commit_id":"a35c58dab00da43647d9688c277fd8b86d54445d","user":{"login":"hsuchie4","id":12201779,"avatar_url":"https://avatars.githubusercontent.com/u/12201779?v=3","gravatar_id":"","url":"https://api.github.com/users/hsuchie4","html_url":"https://github.com/hsuchie4","followers_url":"https://api.github.com/users/hsuchie4/followers","following_url":"https://api.github.com/users/hsuchie4/following{/other_user}","gists_url":"https://api.github.com/users/hsuchie4/gists{/gist_id}","starred_url":"https://api.github.com/users/hsuchie4/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hsuchie4/subscriptions","organizations_url":"https://api.github.com/users/hsuchie4/orgs","repos_url":"https://api.github.com/users/hsuchie4/repos","events_url":"https://api.github.com/users/hsuchie4/events{/privacy}","received_events_url":"https://api.github.com/users/hsuchie4/received_events","type":"User","site_admin":false},"body":"fixed","created_at":"2016-01-12T21:27:45Z","updated_at":"2016-01-12T21:27:45Z","html_url":"https://github.com/Southpaw-TACTIC/TACTIC/pull/449#discussion_r49516261","pull_request_url":"https://api.github.com/repos/Southpaw-TACTIC/TACTIC/pulls/449","_links":{"self":{"href":"https://api.github.com/repos/Southpaw-TACTIC/TACTIC/pulls/comments/49516261"},"html":{"href":"https://github.com/Southpaw-TACTIC/TACTIC/pull/449#discussion_r49516261"},"pull_request":{"href":"https://api.github.com/repos/Southpaw-TACTIC/TACTIC/pulls/449"}}},"pull_request":{"url":"https://api.github.com/repos/Southpaw-TACTIC/TACTIC/pulls/449","id":55676933,"html_url":"https://github.com/Southpaw-TACTIC/TACTIC/pull/449","diff_url":"https://github.com/Southpaw-TACTIC/TACTIC/pull/449.diff","patch_url":"https://github.com/Southpaw-TACTIC/TACTIC/pull/449.patch","issue_url":"https://api.github.com/repos/Southpaw-TACTIC/TACTIC/issues/449","number":449,"state":"open","locked":false,"title":"WORK-209:","user":{"login":"hsuchie4","id":12201779,"avatar_url":"https://avatars.githubusercontent.com/u/12201779?v=3","gravatar_id":"","url":"https://api.github.com/users/hsuchie4","html_url":"https://github.com/hsuchie4","followers_url":"https://api.github.com/users/hsuchie4/followers","following_url":"https://api.github.com/users/hsuchie4/following{/other_user}","gists_url":"https://api.github.com/users/hsuchie4/gists{/gist_id}","starred_url":"https://api.github.com/users/hsuchie4/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hsuchie4/subscriptions","organizations_url":"https://api.github.com/users/hsuchie4/orgs","repos_url":"https://api.github.com/users/hsuchie4/repos","events_url":"https://api.github.com/users/hsuchie4/events{/privacy}","received_events_url":"https://api.github.com/users/hsuchie4/received_events","type":"User","site_admin":false},"body":"- Allow multiple assets drag and drop into collections","created_at":"2016-01-11T20:58:48Z","updated_at":"2016-01-12T21:27:45Z","closed_at":null,"merged_at":null,"merge_commit_sha":"16c38253874d080671fc6afd3d6979f524749672","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Southpaw-TACTIC/TACTIC/pulls/449/commits","review_comments_url":"https://api.github.com/repos/Southpaw-TACTIC/TACTIC/pulls/449/comments","review_comment_url":"https://api.github.com/repos/Southpaw-TACTIC/TACTIC/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Southpaw-TACTIC/TACTIC/issues/449/comments","statuses_url":"https://api.github.com/repos/Southpaw-TACTIC/TACTIC/statuses/a35c58dab00da43647d9688c277fd8b86d54445d","head":{"label":"Southpaw-TACTIC:WORK-209","ref":"WORK-209","sha":"a35c58dab00da43647d9688c277fd8b86d54445d","user":{"login":"Southpaw-TACTIC","id":3106159,"avatar_url":"https://avatars.githubusercontent.com/u/3106159?v=3","gravatar_id":"","url":"https://api.github.com/users/Southpaw-TACTIC","html_url":"https://github.com/Southpaw-TACTIC","followers_url":"https://api.github.com/users/Southpaw-TACTIC/followers","following_url":"https://api.github.com/users/Southpaw-TACTIC/following{/other_user}","gists_url":"https://api.github.com/users/Southpaw-TACTIC/gists{/gist_id}","starred_url":"https://api.github.com/users/Southpaw-TACTIC/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Southpaw-TACTIC/subscriptions","organizations_url":"https://api.github.com/users/Southpaw-TACTIC/orgs","repos_url":"https://api.github.com/users/Southpaw-TACTIC/repos","events_url":"https://api.github.com/users/Southpaw-TACTIC/events{/privacy}","received_events_url":"https://api.github.com/users/Southpaw-TACTIC/received_events","type":"Organization","site_admin":false},"repo":{"id":12715951,"name":"TACTIC","full_name":"Southpaw-TACTIC/TACTIC","owner":{"login":"Southpaw-TACTIC","id":3106159,"avatar_url":"https://avatars.githubusercontent.com/u/3106159?v=3","gravatar_id":"","url":"https://api.github.com/users/Southpaw-TACTIC","html_url":"https://github.com/Southpaw-TACTIC","followers_url":"https://api.github.com/users/Southpaw-TACTIC/followers","following_url":"https://api.github.com/users/Southpaw-TACTIC/following{/other_user}","gists_url":"https://api.github.com/users/Southpaw-TACTIC/gists{/gist_id}","starred_url":"https://api.github.com/users/Southpaw-TACTIC/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Southpaw-TACTIC/subscriptions","organizations_url":"https://api.github.com/users/Southpaw-TACTIC/orgs","repos_url":"https://api.github.com/users/Southpaw-TACTIC/repos","events_url":"https://api.github.com/users/Southpaw-TACTIC/events{/privacy}","received_events_url":"https://api.github.com/users/Southpaw-TACTIC/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Southpaw-TACTIC/TACTIC","description":"TACTIC - http://community.southpawtech.com","fork":false,"url":"https://api.github.com/repos/Southpaw-TACTIC/TACTIC","forks_url":"https://api.github.com/repos/Southpaw-TACTIC/TACTIC/forks","keys_url":"https://api.github.com/repos/Southpaw-TACTIC/TACTIC/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Southpaw-TACTIC/TACTIC/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Southpaw-TACTIC/TACTIC/teams","hooks_url":"https://api.github.com/repos/Southpaw-TACTIC/TACTIC/hooks","issue_events_url":"https://api.github.com/repos/Southpaw-TACTIC/TACTIC/issues/events{/number}","events_url":"https://api.github.com/repos/Southpaw-TACTIC/TACTIC/events","assignees_url":"https://api.github.com/repos/Southpaw-TACTIC/TACTIC/assignees{/user}","branches_url":"https://api.github.com/repos/Southpaw-TACTIC/TACTIC/branches{/branch}","tags_url":"https://api.github.com/repos/Southpaw-TACTIC/TACTIC/tags","blobs_url":"https://api.github.com/repos/Southpaw-TACTIC/TACTIC/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Southpaw-TACTIC/TACTIC/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Southpaw-TACTIC/TACTIC/git/refs{/sha}","trees_url":"https://api.github.com/repos/Southpaw-TACTIC/TACTIC/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Southpaw-TACTIC/TACTIC/statuses/{sha}","languages_url":"https://api.github.com/repos/Southpaw-TACTIC/TACTIC/languages","stargazers_url":"https://api.github.com/repos/Southpaw-TACTIC/TACTIC/stargazers","contributors_url":"https://api.github.com/repos/Southpaw-TACTIC/TACTIC/contributors","subscribers_url":"https://api.github.com/repos/Southpaw-TACTIC/TACTIC/subscribers","subscription_url":"https://api.github.com/repos/Southpaw-TACTIC/TACTIC/subscription","commits_url":"https://api.github.com/repos/Southpaw-TACTIC/TACTIC/commits{/sha}","git_commits_url":"https://api.github.com/repos/Southpaw-TACTIC/TACTIC/git/commits{/sha}","comments_url":"https://api.github.com/repos/Southpaw-TACTIC/TACTIC/comments{/number}","issue_comment_url":"https://api.github.com/repos/Southpaw-TACTIC/TACTIC/issues/comments{/number}","contents_url":"https://api.github.com/repos/Southpaw-TACTIC/TACTIC/contents/{+path}","compare_url":"https://api.github.com/repos/Southpaw-TACTIC/TACTIC/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Southpaw-TACTIC/TACTIC/merges","archive_url":"https://api.github.com/repos/Southpaw-TACTIC/TACTIC/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Southpaw-TACTIC/TACTIC/downloads","issues_url":"https://api.github.com/repos/Southpaw-TACTIC/TACTIC/issues{/number}","pulls_url":"https://api.github.com/repos/Southpaw-TACTIC/TACTIC/pulls{/number}","milestones_url":"https://api.github.com/repos/Southpaw-TACTIC/TACTIC/milestones{/number}","notifications_url":"https://api.github.com/repos/Southpaw-TACTIC/TACTIC/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Southpaw-TACTIC/TACTIC/labels{/name}","releases_url":"https://api.github.com/repos/Southpaw-TACTIC/TACTIC/releases{/id}","created_at":"2013-09-10T00:06:41Z","updated_at":"2016-01-04T17:34:47Z","pushed_at":"2016-01-11T22:41:10Z","git_url":"git://github.com/Southpaw-TACTIC/TACTIC.git","ssh_url":"git@github.com:Southpaw-TACTIC/TACTIC.git","clone_url":"https://github.com/Southpaw-TACTIC/TACTIC.git","svn_url":"https://github.com/Southpaw-TACTIC/TACTIC","homepage":"","size":164026,"stargazers_count":90,"watchers_count":90,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":45,"mirror_url":null,"open_issues_count":13,"forks":45,"open_issues":13,"watchers":90,"default_branch":"master"}},"base":{"label":"Southpaw-TACTIC:4.5","ref":"4.5","sha":"b17c12196c4d4bb7134eff0aafe89542fee2a047","user":{"login":"Southpaw-TACTIC","id":3106159,"avatar_url":"https://avatars.githubusercontent.com/u/3106159?v=3","gravatar_id":"","url":"https://api.github.com/users/Southpaw-TACTIC","html_url":"https://github.com/Southpaw-TACTIC","followers_url":"https://api.github.com/users/Southpaw-TACTIC/followers","following_url":"https://api.github.com/users/Southpaw-TACTIC/following{/other_user}","gists_url":"https://api.github.com/users/Southpaw-TACTIC/gists{/gist_id}","starred_url":"https://api.github.com/users/Southpaw-TACTIC/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Southpaw-TACTIC/subscriptions","organizations_url":"https://api.github.com/users/Southpaw-TACTIC/orgs","repos_url":"https://api.github.com/users/Southpaw-TACTIC/repos","events_url":"https://api.github.com/users/Southpaw-TACTIC/events{/privacy}","received_events_url":"https://api.github.com/users/Southpaw-TACTIC/received_events","type":"Organization","site_admin":false},"repo":{"id":12715951,"name":"TACTIC","full_name":"Southpaw-TACTIC/TACTIC","owner":{"login":"Southpaw-TACTIC","id":3106159,"avatar_url":"https://avatars.githubusercontent.com/u/3106159?v=3","gravatar_id":"","url":"https://api.github.com/users/Southpaw-TACTIC","html_url":"https://github.com/Southpaw-TACTIC","followers_url":"https://api.github.com/users/Southpaw-TACTIC/followers","following_url":"https://api.github.com/users/Southpaw-TACTIC/following{/other_user}","gists_url":"https://api.github.com/users/Southpaw-TACTIC/gists{/gist_id}","starred_url":"https://api.github.com/users/Southpaw-TACTIC/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Southpaw-TACTIC/subscriptions","organizations_url":"https://api.github.com/users/Southpaw-TACTIC/orgs","repos_url":"https://api.github.com/users/Southpaw-TACTIC/repos","events_url":"https://api.github.com/users/Southpaw-TACTIC/events{/privacy}","received_events_url":"https://api.github.com/users/Southpaw-TACTIC/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Southpaw-TACTIC/TACTIC","description":"TACTIC - http://community.southpawtech.com","fork":false,"url":"https://api.github.com/repos/Southpaw-TACTIC/TACTIC","forks_url":"https://api.github.com/repos/Southpaw-TACTIC/TACTIC/forks","keys_url":"https://api.github.com/repos/Southpaw-TACTIC/TACTIC/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Southpaw-TACTIC/TACTIC/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Southpaw-TACTIC/TACTIC/teams","hooks_url":"https://api.github.com/repos/Southpaw-TACTIC/TACTIC/hooks","issue_events_url":"https://api.github.com/repos/Southpaw-TACTIC/TACTIC/issues/events{/number}","events_url":"https://api.github.com/repos/Southpaw-TACTIC/TACTIC/events","assignees_url":"https://api.github.com/repos/Southpaw-TACTIC/TACTIC/assignees{/user}","branches_url":"https://api.github.com/repos/Southpaw-TACTIC/TACTIC/branches{/branch}","tags_url":"https://api.github.com/repos/Southpaw-TACTIC/TACTIC/tags","blobs_url":"https://api.github.com/repos/Southpaw-TACTIC/TACTIC/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Southpaw-TACTIC/TACTIC/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Southpaw-TACTIC/TACTIC/git/refs{/sha}","trees_url":"https://api.github.com/repos/Southpaw-TACTIC/TACTIC/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Southpaw-TACTIC/TACTIC/statuses/{sha}","languages_url":"https://api.github.com/repos/Southpaw-TACTIC/TACTIC/languages","stargazers_url":"https://api.github.com/repos/Southpaw-TACTIC/TACTIC/stargazers","contributors_url":"https://api.github.com/repos/Southpaw-TACTIC/TACTIC/contributors","subscribers_url":"https://api.github.com/repos/Southpaw-TACTIC/TACTIC/subscribers","subscription_url":"https://api.github.com/repos/Southpaw-TACTIC/TACTIC/subscription","commits_url":"https://api.github.com/repos/Southpaw-TACTIC/TACTIC/commits{/sha}","git_commits_url":"https://api.github.com/repos/Southpaw-TACTIC/TACTIC/git/commits{/sha}","comments_url":"https://api.github.com/repos/Southpaw-TACTIC/TACTIC/comments{/number}","issue_comment_url":"https://api.github.com/repos/Southpaw-TACTIC/TACTIC/issues/comments{/number}","contents_url":"https://api.github.com/repos/Southpaw-TACTIC/TACTIC/contents/{+path}","compare_url":"https://api.github.com/repos/Southpaw-TACTIC/TACTIC/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Southpaw-TACTIC/TACTIC/merges","archive_url":"https://api.github.com/repos/Southpaw-TACTIC/TACTIC/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Southpaw-TACTIC/TACTIC/downloads","issues_url":"https://api.github.com/repos/Southpaw-TACTIC/TACTIC/issues{/number}","pulls_url":"https://api.github.com/repos/Southpaw-TACTIC/TACTIC/pulls{/number}","milestones_url":"https://api.github.com/repos/Southpaw-TACTIC/TACTIC/milestones{/number}","notifications_url":"https://api.github.com/repos/Southpaw-TACTIC/TACTIC/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Southpaw-TACTIC/TACTIC/labels{/name}","releases_url":"https://api.github.com/repos/Southpaw-TACTIC/TACTIC/releases{/id}","created_at":"2013-09-10T00:06:41Z","updated_at":"2016-01-04T17:34:47Z","pushed_at":"2016-01-11T22:41:10Z","git_url":"git://github.com/Southpaw-TACTIC/TACTIC.git","ssh_url":"git@github.com:Southpaw-TACTIC/TACTIC.git","clone_url":"https://github.com/Southpaw-TACTIC/TACTIC.git","svn_url":"https://github.com/Southpaw-TACTIC/TACTIC","homepage":"","size":164026,"stargazers_count":90,"watchers_count":90,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":45,"mirror_url":null,"open_issues_count":13,"forks":45,"open_issues":13,"watchers":90,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Southpaw-TACTIC/TACTIC/pulls/449"},"html":{"href":"https://github.com/Southpaw-TACTIC/TACTIC/pull/449"},"issue":{"href":"https://api.github.com/repos/Southpaw-TACTIC/TACTIC/issues/449"},"comments":{"href":"https://api.github.com/repos/Southpaw-TACTIC/TACTIC/issues/449/comments"},"review_comments":{"href":"https://api.github.com/repos/Southpaw-TACTIC/TACTIC/pulls/449/comments"},"review_comment":{"href":"https://api.github.com/repos/Southpaw-TACTIC/TACTIC/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Southpaw-TACTIC/TACTIC/pulls/449/commits"},"statuses":{"href":"https://api.github.com/repos/Southpaw-TACTIC/TACTIC/statuses/a35c58dab00da43647d9688c277fd8b86d54445d"}}}}