Copied to clipboard

Flag this post as spam?

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


  • Jörg Seibert 10 posts 61 karma points
    Sep 01, 2014 @ 09:07
    Jörg Seibert
    0

    Cant select Video because of enableMin is null exception

    I've used a fresh install of version 1.0.1, added a DataType and didn't pick any of the optional Min & Max checkboxes.

    When using that DataType as a property in a document, it is not possible to select any of the shown videos.

    JavaScript console shows following error

    TypeError: Cannot read property 'enableMin' of null
        at isMinValid (http://localhost:50956/App_Plugins/YouTube/js/YouTube.js:187:54)
        at Object.fn (http://localhost:50956/App_Plugins/YouTube/js/YouTube.js:148:9)
        at Object.e.$digest (http://localhost:50956/umbraco/lib/angular/1.1.5/angular.min.js:90:356)
        at Object.e.$apply (http://localhost:50956/umbraco/lib/angular/1.1.5/angular.min.js:92:431)
        at j (http://localhost:50956/umbraco/lib/angular/1.1.5/angular.min.js:101:80)
        at r (http://localhost:50956/umbraco/lib/angular/1.1.5/angular.min.js:104:449)
        at XMLHttpRequest.v.onreadystatechange (http://localhost:50956/umbraco/lib/angular/1.1.5/angular.min.js:106:90)

    Checking if $scope.model.config.minmax is defined and/or setting some default values initially would prevent that.

     

    kind regards.

     J.

Please Sign in or register to post replies

Write your reply to:

Draft