{"action":"created","issue":{"url":"https://api.github.com/repos/trippo/ResponsiveFilemanager/issues/211","labels_url":"https://api.github.com/repos/trippo/ResponsiveFilemanager/issues/211/labels{/name}","comments_url":"https://api.github.com/repos/trippo/ResponsiveFilemanager/issues/211/comments","events_url":"https://api.github.com/repos/trippo/ResponsiveFilemanager/issues/211/events","html_url":"https://github.com/trippo/ResponsiveFilemanager/issues/211","id":104956128,"number":211,"title":"Can't copy,duplicate if rename permission set to false","user":{"login":"henriquetorres","id":5189189,"avatar_url":"https://avatars.githubusercontent.com/u/5189189?v=3","gravatar_id":"","url":"https://api.github.com/users/henriquetorres","html_url":"https://github.com/henriquetorres","followers_url":"https://api.github.com/users/henriquetorres/followers","following_url":"https://api.github.com/users/henriquetorres/following{/other_user}","gists_url":"https://api.github.com/users/henriquetorres/gists{/gist_id}","starred_url":"https://api.github.com/users/henriquetorres/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/henriquetorres/subscriptions","organizations_url":"https://api.github.com/users/henriquetorres/orgs","repos_url":"https://api.github.com/users/henriquetorres/repos","events_url":"https://api.github.com/users/henriquetorres/events{/privacy}","received_events_url":"https://api.github.com/users/henriquetorres/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-09-04T19:32:23Z","updated_at":"2015-09-04T20:00:38Z","closed_at":null,"body":"Hi,\r\n\r\nBecause you're using .rename-file or .rename-folder to get \"data-path\" there is an error when on config.php rename_files or rename_folders is set to false.\r\n\r\nTo fix this error, i've changed include.js:\r\n\r\nall $trigger.find('.rename-file').attr('data-path'); => $trigger.find('.rename-file-paths').attr('data-path');\r\n\r\nand all $trigger.find('.rename-folder').attr('data-path'); => $trigger.find('.rename-file-paths').attr('data-path');\r\n\r\nBest regards\r\n"},"comment":{"url":"https://api.github.com/repos/trippo/ResponsiveFilemanager/issues/comments/137839516","html_url":"https://github.com/trippo/ResponsiveFilemanager/issues/211#issuecomment-137839516","issue_url":"https://api.github.com/repos/trippo/ResponsiveFilemanager/issues/211","id":137839516,"user":{"login":"henriquetorres","id":5189189,"avatar_url":"https://avatars.githubusercontent.com/u/5189189?v=3","gravatar_id":"","url":"https://api.github.com/users/henriquetorres","html_url":"https://github.com/henriquetorres","followers_url":"https://api.github.com/users/henriquetorres/followers","following_url":"https://api.github.com/users/henriquetorres/following{/other_user}","gists_url":"https://api.github.com/users/henriquetorres/gists{/gist_id}","starred_url":"https://api.github.com/users/henriquetorres/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/henriquetorres/subscriptions","organizations_url":"https://api.github.com/users/henriquetorres/orgs","repos_url":"https://api.github.com/users/henriquetorres/repos","events_url":"https://api.github.com/users/henriquetorres/events{/privacy}","received_events_url":"https://api.github.com/users/henriquetorres/received_events","type":"User","site_admin":false},"created_at":"2015-09-04T20:00:38Z","updated_at":"2015-09-04T20:00:38Z","body":"Also there is an error on ajax_calls.php, you're using function \"folderinfo\" but there has been a commit on utils.php changing that function to \"folder_size\".\r\nI've updated ajax_calls.php line 325 :\r\n\r\n<code>\t\t\t\t// size over limit\r\n\t\t\t\tif ($copy_cut_max_size !== false && is_int($copy_cut_max_size))\r\n\t\t\t\t{\r\n\t\t\t\t\tlist($sizeFolderToCopy,$tmpFolderToCopy,$tmp1FolderToCopy) = folder_info($path);\r\n\t\t\t\t\tif (($copy_cut_max_size * 1024 * 1024) < $sizeFolderToCopy)\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tresponse(sprintf(trans('Copy_Cut_Size_Limit'), ($_POST['sub_action'] == 'copy' ? lcfirst(trans('Copy')) : lcfirst(trans('Cut'))), $copy_cut_max_size), 400)->send();\r\n\t\t\t\t\t\texit;\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n</code>\r\n\r\n\r\nAnd now it can copy, but when pasting the folder isn't created, any suggestion?"}}