]> source.dussan.org Git - nextcloud-server.git/commitdiff
fixing javascript errors IE8 in personal settings
authorThomas Mueller <thomas.mueller@tmit.eu>
Thu, 14 Feb 2013 15:10:52 +0000 (16:10 +0100)
committerThomas Mueller <thomas.mueller@tmit.eu>
Thu, 14 Feb 2013 15:10:52 +0000 (16:10 +0100)
apps/files_external/js/settings.js

index 172ef097fbfb00e6dd145dd8d0ad6930780355af..126903952704c9ae0e83908c98dca0f5e83fe126 100644 (file)
@@ -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;
                }