Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Wouter 49 posts 76 karma points
    Jul 19, 2011 @ 10:30
    Wouter
    0

    Script error, a.widget.prototype._trigger is undefined, Multi-Node Tree Picker

    I've already replaced the umbraco CMS folders with fresh ones but I just can't seem to figure out how to solve it.

    When I try to drag/move one of the selected items the surrounding div grows and I get a 'a.widget.prototype._trigger is undefined' javascript error. For a video example check: http://dvdw-site.test.tamtam.nl/temp/20110719_1012_54.avi

    I'm using the latest stable version, I've also tried the new beta version but no luck. Any help would be appreciated because I'm slowly losing it :-S

  • Lee Kelleher 4020 posts 15802 karma points MVP 13x admin c-trib
    Jul 19, 2011 @ 11:04
    Lee Kelleher
    0

    Hi Wouter,

    From your screencast, it looks like the jQuery UI scripts aren't loaded properly.  When you say that you've "replaced the umbraco CMS folders" - how do you mean?

    Is your "umbraco_client" folder there?  Seems that something is corrupted somewhere - but can't see how it's uComponents, as all it's assets are embedded within the "uComponents.Core.dll".

    Cheers, Lee.

  • Wouter 49 posts 76 karma points
    Jul 19, 2011 @ 11:09
    Wouter
    0

    Yes the folder is still there, I figured perhaps something went wrong, so a placed a fresh/origional/clean version of the folder in there, thats it. Hmm, I'm having trouble to identify the exact script that is causing the problem. It looks like you're right, uComponents itself is not the problem, any tips on how I can find the buggy script? Thanks for the super fast response btw!

  • Lee Kelleher 4020 posts 15802 karma points MVP 13x admin c-trib
    Jul 19, 2011 @ 11:17
    Lee Kelleher
    0

    Bit of a long shot, but worth trying.  It could be that the ClientDependency framework is caching a corrupted version?

    Try deleting the contents of the "\App_Data\TEMP\ClientDependency" folder?  The files will regenerate when you log into the back-office.

    Cheers, Lee.

  • Wouter 49 posts 76 karma points
    Jul 19, 2011 @ 12:50
    Wouter
    0

    Found it! There is a custom UserControl called ucRate, which is trying to access these files:

    <script src="/scripts/cms/jquery-ui-core.min.js" type="text/javascript"></script>
    <script src="/scripts/cms/jquery-ui-widget.min.js" type="text/javascript"></script>
    <script src="/scripts/cms/jquery-ui-stars.min.js" type="text/javascript"></script>

    One of these is causing the exception, guess it's jquery-ui-stars.min.js. Thanks for your help!

Please Sign in or register to post replies

Write your reply to:

Draft