mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-02 07:27:04 +00:00
update js/template
This commit is contained in:
@@ -4,15 +4,14 @@ define([
|
||||
'backbone',
|
||||
'common',
|
||||
'jquery.ui.tabs',
|
||||
'select2',
|
||||
'text!' + app.config._tmplRoot + 'share-popup.html',
|
||||
], function($, _, Backbone, Common, Tabs, Select2, SharePopupTemplate) {
|
||||
'select2'
|
||||
], function($, _, Backbone, Common, Tabs, Select2) {
|
||||
'use strict';
|
||||
|
||||
var SharePopupView = Backbone.View.extend({
|
||||
tagName: 'div',
|
||||
id: 'share-popup',
|
||||
template: _.template(SharePopupTemplate),
|
||||
template: _.template($('#share-popup-tmpl').html()),
|
||||
|
||||
initialize: function(options) {
|
||||
this.is_repo_owner = options.is_repo_owner;
|
||||
|
Reference in New Issue
Block a user