diff options
author | Vincent Petry <pvince81@owncloud.com> | 2016-06-23 18:26:01 +0200 |
---|---|---|
committer | Vincent Petry <pvince81@owncloud.com> | 2016-06-23 18:26:01 +0200 |
commit | da4ba82b834f3485e82113b7cb6d1c5bd68ec315 (patch) | |
tree | dc2e895e11b804e917aec552d0cec679cef3ceca /settings/js/authtoken_view.js | |
parent | cc2aec11af4df1cdc98f12036e59d7fbace19265 (diff) | |
download | nextcloud-server-da4ba82b834f3485e82113b7cb6d1c5bd68ec315.tar.gz nextcloud-server-da4ba82b834f3485e82113b7cb6d1c5bd68ec315.zip |
Use OC.Backbone instead of Backbone directly in authtoken JS code
Fixes asset pipeline issue with the auth token in personal page
Diffstat (limited to 'settings/js/authtoken_view.js')
-rw-r--r-- | settings/js/authtoken_view.js | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/settings/js/authtoken_view.js b/settings/js/authtoken_view.js index da5861689a0..bfafee8243f 100644 --- a/settings/js/authtoken_view.js +++ b/settings/js/authtoken_view.js @@ -1,4 +1,4 @@ -/* global Backbone, Handlebars, moment */ +/* global Handlebars, moment */ /** * @author Christoph Wurst <christoph@owncloud.com> @@ -20,7 +20,7 @@ * */ -(function(OC, _, Backbone, $, Handlebars, moment) { +(function(OC, _, $, Handlebars, moment) { 'use strict'; OC.Settings = OC.Settings || {}; @@ -32,7 +32,7 @@ + '<td><a class="icon-delete has-tooltip" title="' + t('core', 'Disconnect') + '"></a></td>' + '<tr>'; - var SubView = Backbone.View.extend({ + var SubView = OC.Backbone.View.extend({ collection: null, /** @@ -94,7 +94,7 @@ } }); - var AuthTokenView = Backbone.View.extend({ + var AuthTokenView = OC.Backbone.View.extend({ collection: null, _views: [], @@ -237,4 +237,4 @@ OC.Settings.AuthTokenView = AuthTokenView; -})(OC, _, Backbone, $, Handlebars, moment); +})(OC, _, $, Handlebars, moment); |