Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes #7059: In UI, directives in a rule are not sorted as their bundle order #906

Conversation

fanf
Copy link
Member

@fanf fanf commented Aug 4, 2015

https://www.rudder-project.org/redmine/issues/7059

Some information about that pull request: AngularJS needs to have stable JS object or it goes in infinite loop. So I need to have both the data I need, with the model I want to handle AND a copy of them on an angularjs-no-infinity-loop compatible way. That su**s. Not found anything else.

@fanf fanf force-pushed the bug_7059/in_ui_rules_and_directives_in_rules_are_not_sorted_as_their_bundle_order branch from 3cba32a to 48b5802 Compare August 4, 2015 14:26
arr.push({"id":o, "name": $scope.directives[o] });
}
var sorted = arr.sort(function(a, b) {
return a.name.localeCompare(b.name);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is unfortunately not compatible IE10 :(

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ncharles added a commit that referenced this pull request Aug 4, 2015
…_in_rules_are_not_sorted_as_their_bundle_order

Fixes #7059: In UI, directives in a rule are not sorted as their bundle order
@ncharles ncharles merged commit bfd852a into Normation:branches/rudder/3.1 Aug 4, 2015
@fanf fanf deleted the bug_7059/in_ui_rules_and_directives_in_rules_are_not_sorted_as_their_bundle_order branch March 15, 2024 10:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants