AngularJS / undefined is not a function

3 posts, 0 answers
  1. Nick
    Nick avatar
    31 posts
    Member since:
    Oct 2011

    Posted 11 Aug 2014 Link to this post

    Here, the kendoDraggable method hint is throwing error. This works if I don't use the AngulerJS/Controller.
    kendoDraggable : function (e) {
                            //return e.clone(); 
                            //return $("#draggable").clone();
                            return "<span> Testing </span>";
    // If I return nothing from this function then it works but it's not giving a hint. - see
    If I use an un-minified version of KendoUI and put a try/catch block at line 82431

    $compile(el)(itemScope || scope);

    It's throwing this message:

    message: "undefined is not a function"

    Any ideas what I might be doing wrong?
  2. Nick
    Nick avatar
    31 posts
    Member since:
    Oct 2011

    Posted 12 Aug 2014 in reply to Nick Link to this post

    It seems like there's a bug...

    If I add a try/catch here:

                            $compile(el)(itemScope || scope); //line no #82431

    the "hint" works fine.  I'm sure that's not a good permanent fix, but is there any chance this can be fixed in the next internal build?
  3. Mihai
    Mihai avatar
    153 posts

    Posted 13 Aug 2014 Link to this post

    Hi Nick,

    I can confirm it's fixed (in this patch).  Please try with the latest internal build.

    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Back to Top