Permalink
Browse files

Fixed bug where the admin panel wouldn't load

I'm not sure whether this only happend to me, or this is a known
bug. Without the 'this.options' the js would throw an error.
'options' is not defined.

Fixes Admin Panel on Chrome 40.0.2214.115 w/ V8 3.30.33.16
  • Loading branch information...
ChristianGaertner committed Mar 14, 2015
1 parent ca5e876 commit bcc6a735db25878d48df9f50093759c74397a0d4
Showing with 3 additions and 3 deletions.
  1. +3 −3 client/source/buckets.coffee
@@ -26,10 +26,10 @@ module.exports = class BucketsApp extends Chaplin.Application
mediator.user = new User @options.user if @options.user
mediator.plugins = {}
if options.cloudinary
if @options.cloudinary
$.cloudinary.config
api_key: options.cloudinary.api_key
cloud_name: options.cloudinary.cloud_name
api_key: @options.cloudinary.api_key
cloud_name: @options.cloudinary.cloud_name
mediator.layout = new Layout
title: 'Buckets'

0 comments on commit bcc6a73

Please sign in to comment.