aboutsummaryrefslogtreecommitdiffstats
path: root/js/filebrowser.js
diff options
context:
space:
mode:
authorRobin Appelman <icewind1991@gmail>2010-04-30 16:49:09 +0200
committerRobin Appelman <icewind1991@gmail>2010-04-30 16:49:09 +0200
commitaccc1d7bf31ec27524eea6a9028c4982f31ac1ac (patch)
tree9139471ab357bbb7a8d9c2b763d4ab700b8417e0 /js/filebrowser.js
parent4a23a0e23db35a440216ad1b7212d2844ecf07a6 (diff)
downloadnextcloud-server-accc1d7bf31ec27524eea6a9028c4982f31ac1ac.tar.gz
nextcloud-server-accc1d7bf31ec27524eea6a9028c4982f31ac1ac.zip
Fix a few things in IE
Diffstat (limited to 'js/filebrowser.js')
-rwxr-xr-xjs/filebrowser.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/js/filebrowser.js b/js/filebrowser.js
index cc03fe33156..548b7c84922 100755
--- a/js/filebrowser.js
+++ b/js/filebrowser.js
@@ -360,8 +360,8 @@ OC_FILES.browser.showMoreActions=function(){
input.setAttribute('id','newFileName');
form.addEvent('onsubmit',OC_FILES.browser.newFile);
var submit=document.createElement('input');
- form.appendChild(submit);
submit.type='submit';
+ form.appendChild(submit);
submit.value='Create';
OC_FILES.browser.moreActionsList=div;
}else{
@@ -474,7 +474,7 @@ OC_FILES.browser.rename_cancel=function(file){
}
OC_FILES.browser.showactions=function(file,hide){
- node=document.getElementById(file);
+ var node=document.getElementById(file);
if(node &&(node.actionsshown || hide===true)){
if(node.actionsdiv){
node.removeChild(node.actionsdiv);
@@ -492,6 +492,7 @@ OC_FILES.browser.showactions=function(file,hide){
table.appendChild(tbody);
var file=OC_FILES.files[file]
var actions=file.actions;
+ var name;
for(name in actions){
if(actions[name].call && name!='default' && name!='dropOn' && name!='drop'){
tr=document.createElement('tr');