From 567c17fde595ae47c6e281bcdad56d3723c642e6 Mon Sep 17 00:00:00 2001 From: Robin Appelman Date: Sat, 1 May 2010 22:35:18 +0200 Subject: fix renaming files in IE --- js/filebrowser.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'js/filebrowser.js') diff --git a/js/filebrowser.js b/js/filebrowser.js index 548b7c84922..18567f202c5 100755 --- a/js/filebrowser.js +++ b/js/filebrowser.js @@ -476,8 +476,8 @@ OC_FILES.browser.rename_cancel=function(file){ OC_FILES.browser.showactions=function(file,hide){ var node=document.getElementById(file); if(node &&(node.actionsshown || hide===true)){ - if(node.actionsdiv){ - node.removeChild(node.actionsdiv); + if(node.actionsshown){ + node.actionsdiv.parentNode.removeChild(node.actionsdiv); } node.actionsdiv=null; node.actionsshown=false -- cgit v1.2.3