U4-4366 - Lots of js errors in RteController when editing the rte data type

Created by Shannon Deminick 10 Mar 2014, 01:59:20 Updated by Shannon Deminick 10 Mar 2014, 03:14:50

TypeError: Cannot call method 'indexOf' of undefined at Object.$scope.selected (http://localhost:7100/umbraco/js/umbraco.controllers.js:5190:35) at Object.get (http://localhost:7100/umbraco/lib/angular/1.1.5/angular.min.js:74:98) at Object.e.$digest (http://localhost:7100/umbraco/lib/angular/1.1.5/angular.min.js:90:233) at Object.e.$apply (http://localhost:7100/umbraco/lib/angular/1.1.5/angular.min.js:92:431) at j (http://localhost:7100/umbraco/lib/angular/1.1.5/angular.min.js:101:80) at r (http://localhost:7100/umbraco/lib/angular/1.1.5/angular.min.js:104:449) at XMLHttpRequest.v.onreadystatechange (http://localhost:7100/umbraco/lib/angular/1.1.5/angular.min.js:106:90)

on this line:

    $scope.selected = function(cmd, alias, lookup){
        cmd.selected = lookup.indexOf(alias) >= 0;
        return cmd.selected;
    };

Comments

Shannon Deminick 10 Mar 2014, 02:03:22

This is to do with the stylesheet list


Priority: Normal

Type: Bug

State: Fixed

Assignee: Shannon Deminick

Difficulty: Normal

Category:

Backwards Compatible: True

Fix Submitted:

Affected versions: 7.1.0

Due in version: 7.1.0

Sprint:

Story Points:

Cycle: