Skip to content

Commit

Permalink
fixing js error (issue #127)
Browse files Browse the repository at this point in the history
  • Loading branch information
simogeo committed Jan 25, 2013
1 parent 9733ae4 commit 2b2caf4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/filemanager.js
Original file line number Diff line number Diff line change
Expand Up @@ -588,8 +588,8 @@ var addFolder = function(parent, name){
if(parent != fileRoot){
parentNode.next('ul').prepend(newNode).prev('a').click().click();
} else {
$('#filetree > ul').prepend(newNode);
$('#filetree').find('li a[rel="' + parent + name + '/"]').click(function(){
$('#filetree > ul').prepend(newNode);
$('#filetree').find('li a[rel="' + parent + name + '/"]').attr('class', 'cap_rename cap_delete').click(function(){
getFolderInfo(parent + name + '/');
}).each(function() {
$(this).contextMenu(
Expand Down

0 comments on commit 2b2caf4

Please sign in to comment.