mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-01 15:09:14 +00:00
update js/template
This commit is contained in:
@@ -3,16 +3,15 @@ define([
|
||||
'simplemodal',
|
||||
'underscore',
|
||||
'backbone',
|
||||
'common',
|
||||
'text!' + app.config._tmplRoot + 'create-repo.html'
|
||||
], function($, simplemodal, _, Backbone, Common, CreateRepoTemplate) {
|
||||
'common'
|
||||
], function($, simplemodal, _, Backbone, Common) {
|
||||
'use strict';
|
||||
|
||||
var AddRepoView = Backbone.View.extend({
|
||||
|
||||
tagName: 'div',
|
||||
|
||||
template: _.template(CreateRepoTemplate),
|
||||
template: _.template($('#create-repo-tmpl').html()),
|
||||
|
||||
initialize: function(repos) {
|
||||
this.repos = repos;
|
||||
|
Reference in New Issue
Block a user