Skip to content
This repository has been archived by the owner on Feb 14, 2018. It is now read-only.

Commit

Permalink
Actually fix drag and drop
Browse files Browse the repository at this point in the history
  • Loading branch information
nrn committed Apr 26, 2012
1 parent 1556e3d commit eeaaf95
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion client/client.js
Expand Up @@ -353,7 +353,7 @@ require.define("/lib/legacy.coffee", function (require, module, exports, __dirna

util = require('./util.coffee');

pageHandler = require('./pageHandler.coffee');
pageHandler = wiki.pageHandler = require('./pageHandler.coffee');

plugin = require('./plugin.coffee');

Expand Down
2 changes: 1 addition & 1 deletion client/lib/legacy.coffee
@@ -1,6 +1,6 @@
window.wiki = {}
util = require('./util.coffee')
pageHandler = require('./pageHandler.coffee')
pageHandler = wiki.pageHandler = require('./pageHandler.coffee')
plugin = require('./plugin.coffee')
state = require('./state.coffee')
active = require('./active.coffee')
Expand Down
2 changes: 1 addition & 1 deletion client/plugins/meta-factory.coffee
Expand Up @@ -20,7 +20,7 @@ window.plugins.factory =
plugin.bind div, item
catch err
div.append "<p class='error'>#{err}</p>"
pageHandler.put pageElement, {type: 'edit', id: item.id, item: item}
wiki.pageHandler.put pageElement, {type: 'edit', id: item.id, item: item}

div.dblclick ->
div.removeClass('factory').addClass(item.type='paragraph')
Expand Down
2 changes: 1 addition & 1 deletion client/plugins/meta-factory.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit eeaaf95

Please sign in to comment.