aboutsummaryrefslogtreecommitdiffstats
path: root/js/lib_ajax.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/lib_ajax.js
parent4a23a0e23db35a440216ad1b7212d2844ecf07a6 (diff)
downloadnextcloud-server-accc1d7bf31ec27524eea6a9028c4982f31ac1ac.tar.gz
nextcloud-server-accc1d7bf31ec27524eea6a9028c4982f31ac1ac.zip
Fix a few things in IE
Diffstat (limited to 'js/lib_ajax.js')
-rwxr-xr-xjs/lib_ajax.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/lib_ajax.js b/js/lib_ajax.js
index 6a2ae53ee32..62899a9cd06 100755
--- a/js/lib_ajax.js
+++ b/js/lib_ajax.js
@@ -87,6 +87,7 @@ if(typeof Node=='undefined'){
// alert(tagName);
node=document.createElementNative(tagName);
var proto=new Node()
+ var name;
for(name in proto){
node[name]=proto[name];
}
@@ -118,7 +119,6 @@ if(typeof Node=='undefined'){
function getStyle(x,styleProp)
{
if (x.currentStyle){
- alert(x.currentStyle);
var y = x.currentStyle[styleProp];
}else if (window.getComputedStyle){
var y = document.defaultView.getComputedStyle(x,null).getPropertyValue(styleProp);