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_collection.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_collection.js')
-rw-r--r-- | settings/js/authtoken_collection.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/settings/js/authtoken_collection.js b/settings/js/authtoken_collection.js index a78e053995f..ab7f7d5804a 100644 --- a/settings/js/authtoken_collection.js +++ b/settings/js/authtoken_collection.js @@ -20,12 +20,12 @@ * */ -(function(OC, Backbone) { +(function(OC) { 'use strict'; OC.Settings = OC.Settings || {}; - var AuthTokenCollection = Backbone.Collection.extend({ + var AuthTokenCollection = OC.Backbone.Collection.extend({ model: OC.Settings.AuthToken, @@ -49,4 +49,4 @@ OC.Settings.AuthTokenCollection = AuthTokenCollection; -})(OC, Backbone); +})(OC); |