Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(919)

Unified Diff: app/app.js

Issue 10763043: Fine tune the charm token drag and drop.
Patch Set: Fine tune the charm token drag and drop. Created 11 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « [revision details] ('k') | app/templates/charm-token.handlebars » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: app/app.js
=== modified file 'app/app.js'
--- app/app.js 2013-06-26 19:10:58 +0000
+++ app/app.js 2013-06-28 20:10:27 +0000
@@ -598,10 +598,10 @@
}
this.addSubApplications(cfg);
- // When someone wants a charm to be deployed they fire initiateDeploy
- // and we show the charm panel to configure/deploy the service.
- Y.on('initiateDeploy', function(charm) {
- this.deploy(charm);
+ // When someone wants a charm to be deployed they fire an event and we
+ // show the charm panel to configure/deploy the service.
+ Y.on('initiateDeploy', function(charm, ghostXY) {
+ this.deploy(charm, ghostXY);
}, this.charmPanel);
},
« no previous file with comments | « [revision details] ('k') | app/templates/charm-token.handlebars » ('j') | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b