Merge pull request #1696 from owncloud/fixing-more-ie8-master
Fixing more ie8 master
This commit is contained in:
commit
7f1b8274a8
|
@ -47,7 +47,7 @@ OC.MountConfig={
|
||||||
oldUsers.splice($.inArray(applicable, oldUsers), 1);
|
oldUsers.splice($.inArray(applicable, oldUsers), 1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
$.post(OC.filePath('files_external', 'ajax', 'addMountPoint.php'), { mountPoint: mountPoint, class: backendClass, classOptions: classOptions, mountType: mountType, applicable: applicable, isPersonal: isPersonal });
|
$.post(OC.filePath('files_external', 'ajax', 'addMountPoint.php'), { mountPoint: mountPoint, 'class': backendClass, classOptions: classOptions, mountType: mountType, applicable: applicable, isPersonal: isPersonal });
|
||||||
});
|
});
|
||||||
var mountType = 'group';
|
var mountType = 'group';
|
||||||
$.each(oldGroups, function(index, applicable) {
|
$.each(oldGroups, function(index, applicable) {
|
||||||
|
@ -61,7 +61,7 @@ OC.MountConfig={
|
||||||
var isPersonal = true;
|
var isPersonal = true;
|
||||||
var mountType = 'user';
|
var mountType = 'user';
|
||||||
var applicable = OC.currentUser;
|
var applicable = OC.currentUser;
|
||||||
$.post(OC.filePath('files_external', 'ajax', 'addMountPoint.php'), { mountPoint: mountPoint, class: backendClass, classOptions: classOptions, mountType: mountType, applicable: applicable, isPersonal: isPersonal });
|
$.post(OC.filePath('files_external', 'ajax', 'addMountPoint.php'), { mountPoint: mountPoint, 'class': backendClass, classOptions: classOptions, mountType: mountType, applicable: applicable, isPersonal: isPersonal });
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
|
@ -134,7 +134,7 @@ OC.Settings.Apps = OC.Settings.Apps || {
|
||||||
if(container.children('li[data-id="'+entry.id+'"]').length === 0){
|
if(container.children('li[data-id="'+entry.id+'"]').length === 0){
|
||||||
var li=$('<li></li>');
|
var li=$('<li></li>');
|
||||||
li.attr('data-id', entry.id);
|
li.attr('data-id', entry.id);
|
||||||
var img= $('<img></img>').attr({ src: entry.icon, class:'icon'});
|
var img= $('<img class="icon"/>').attr({ src: entry.icon});
|
||||||
var a=$('<a></a>').attr('href', entry.href);
|
var a=$('<a></a>').attr('href', entry.href);
|
||||||
a.text(entry.name);
|
a.text(entry.name);
|
||||||
a.prepend(img);
|
a.prepend(img);
|
||||||
|
|
Loading…
Reference in New Issue