]> source.dussan.org Git - nextcloud-server.git/commitdiff
Fixed group management dropdown in IE9
authorVincent Petry <pvince81@owncloud.com>
Sun, 27 Oct 2013 18:43:51 +0000 (19:43 +0100)
committerVincent Petry <pvince81@owncloud.com>
Sun, 27 Oct 2013 18:45:12 +0000 (19:45 +0100)
There is a syntax error in the "em" tag that isn't close that seem
to mess up in IE9.

- Fix was found in 0bcb0439 for multiselect.js, so backported this partially.
- Fixes #2569

core/js/multiselect.js

index bc4223feb64735cffe364eb953b17d076e544cae..48d521e18568ba2708db411e0c927eac44ab17c1 100644 (file)
                        });
                        button.parent().data('preventHide',false);
                        if(settings.createText){
-                               var li=$('<li class="creator">+ <em>'+settings.createText+'<em></li>');
+                               var li=$('<li class="creator">+ '+settings.createText+'</li>');
                                li.click(function(event){
                                        li.empty();
-                                       var input=$('<input class="new">');
+                                       var input=$('<input type="text" class="new">');
                                        li.append(input);
                                        input.focus();
                                        input.css('width',button.innerWidth());
                
                return span;
        };
-})( jQuery );
\ No newline at end of file
+})( jQuery );