1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-01 23:20:51 +00:00

modified js for IE

This commit is contained in:
llj
2015-10-08 17:54:59 +08:00
parent 1dfcfc58c1
commit 8dff8a8b2d
5 changed files with 6 additions and 1 deletions

View File

@@ -42,7 +42,7 @@ define([
// Generate the attributes for a new GroupRepo item.
newAttributes: function() {
return {
name: $('input[name=repo_name]', this.$el).val().trim(),
name: $.trim($('input[name=repo_name]', this.$el).val()),
encrypted: $('#encrypt-switch', this.$el).parent().hasClass('checkbox-checked'),
passwd1: $('input[name=passwd]', this.$el).val(),
passwd2: $('input[name=passwd_again]', this.$el).val(),