From: Thomas Mueller Date: Thu, 14 Feb 2013 15:10:52 +0000 (+0100) Subject: fixing javascript errors IE8 in personal settings X-Git-Tag: v5.0.0beta1~45^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=6a250c877f2f4446654cb249e9b577f37e41c889;p=nextcloud-server.git fixing javascript errors IE8 in personal settings --- diff --git a/apps/files_external/js/settings.js b/apps/files_external/js/settings.js index 172ef097fbf..12690395270 100644 --- a/apps/files_external/js/settings.js +++ b/apps/files_external/js/settings.js @@ -47,7 +47,7 @@ OC.MountConfig={ 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'; $.each(oldGroups, function(index, applicable) { @@ -61,7 +61,7 @@ OC.MountConfig={ var isPersonal = true; var mountType = 'user'; 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; }