Results 1 to 2 of 2

Thread: Drag and Drop example does not work

Hybrid View

Previous Post Previous Post   Next Post Next Post
    Success! Looks like we've fixed this one. According to our records the fix was applied for TOUCH-1278 in a recent build.
  1. #1
    Sencha User
    Join Date
    Aug 2011
    Vote Rating

    Default Drag and Drop example does not work

    The drag and drop example attached with PR3 (even PR1) does not work. Following is the error


    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)

  2. #2
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Gainesville, FL
    Vote Rating


    I reported this as a bug. I have done this and it works in an app I am building:

            Ext.create('Ext.util.Draggable', {
                element : el
            }, {
                revert : true
    constraints are off but I can drag it around with no errors.
    Mitchell Simoens @LikelyMitch
    Sencha Inc, Senior Software Engineer
    Learn BBCode and use it!

    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2

    Think my support is good? Get more personalized support via a support subscription.

    Need more help with your app? Hire Sencha Services

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!

    When posting code, please use BBCode's CODE tags.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts