Merge pull request #1696 from owncloud/fixing-more-ie8-master

Fixing more ie8 master
This commit is contained in:
Thomas Tanghus 2013-02-14 08:51:51 -08:00
commit 7f1b8274a8
2 changed files with 3 additions and 3 deletions

View File

@ -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;
} }

View File

@ -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);