Permalink
Browse files

Merge pull request #77 from markotibold/extend_fiber_item

Added FiberItem to the  namespace.
  • Loading branch information...
dbunskoek committed Apr 6, 2012
2 parents d342cc6 + 831f82e commit 01929f92ae38f186c9b6cfbc21bd97f8be5bc231
Showing with 2 additions and 2 deletions.
  1. +2 −2 fiber/static/fiber/js/admin.js
@@ -1247,7 +1247,7 @@ var adminPage = {
create_fiber_item: function($fiber_element) {
// create new FiberItem
- var fiber_item = new FiberItem($fiber_element);
+ var fiber_item = new Fiber.FiberItem($fiber_element);
this.all_fiber_items.push(fiber_item);
// find closest parent, and see if it is already a FiberItem
@@ -1804,7 +1804,7 @@ function reloadPage(params) {
// TODO: subclass for specific uses (add / change) and types (page / content / other)
-var FiberItem = Class.extend({
+Fiber.FiberItem = Class.extend({
// TODO: add defaults?
init: function($element) {

0 comments on commit 01929f9

Please sign in to comment.