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

add library pattern feature

This commit is contained in:
lian
2016-09-14 13:47:12 +08:00
parent 72cefff03f
commit 94e91265cc
7 changed files with 50 additions and 5 deletions

View File

@@ -31,7 +31,8 @@ define([
templateData: function() {
return {
showSharePerm: false,
enable_encrypted_library: app.pageOptions.enable_encrypted_library
enable_encrypted_library: app.pageOptions.enable_encrypted_library,
library_templates: app.pageOptions.library_templates
};
},
@@ -47,7 +48,8 @@ define([
encrypted: $('#encrypt-switch').prop('checked'),
passwd1: $('input[name=passwd]', this.$el).val(),
passwd2: $('input[name=passwd_again]', this.$el).val(),
passwd: $('input[name=passwd]', this.$el).val()
passwd: $('input[name=passwd]', this.$el).val(),
library_template: $('[name="library_template"]', this.$el).val()
};
},