-
15 Dec 2011 9:59 PM #1
Drag and Drop example does not work
Drag and Drop example does not work
The drag and drop example attached with PR3 (even PR1) does not work. Following is the error
}
this.mgr.on({
sencha-touch-all-debug-w-comments.js:48102 Uncaught TypeError: Cannot call method 'on' of undefined
dragstart: this.onDragStart,
scope: this
});
this.disabled = false;
Error is on 48102 (sencha-touch-all-debug-w-comments.js)
-
16 Dec 2011 6:46 AM #2Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 34,107
- Vote Rating
- 453
I reported this as a bug. I have done this and it works in an app I am building:
constraints are off but I can drag it around with no errors.Code:Ext.create('Ext.util.Draggable', { element : el }, { revert : true });Mitchell Simoens @SenchaMitch
Sencha Inc, Senior Forum Manager
________________
http://www.JSONPLint.com - Source to lint your JSONP!
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
https://github.com/mitchellsimoens
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services services@sencha.com
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is almost in print!
When posting code, please use BBCode's CODE tags.
Success! Looks like we've fixed this one. According to our records the fix was applied for
TOUCH-1278
in
2.1.


Reply With Quote