Commit c3c2129e authored by Jonne Haß's avatar Jonne Haß

Merge pull request #4827 from Flaburgan/fix-aspect-renaming

Fix aspect renaming after a regression caused by jquery upgrade
parents f12546bb 2c4dc830
......@@ -17,7 +17,7 @@ function updatePageAspectName( an_id, new_name) {
}
$(document).ready(function() {
$('#aspect_name_title').on('click', '#rename_aspect_link', function(){
$(document).on('click', '#rename_aspect_link', function(){
toggleAspectTitle();
});
......
......@@ -53,6 +53,17 @@ Feature: User manages contacts
When I uncheck the first contact list button
Then I should have 0 contacts in "Cat People"
Scenario: Renaming an aspect
Given I am signed in
And I have an aspect called "Cat People"
When I am on the contacts page
And I follow "Cat People"
And I follow "Manage" within "#aspect_controls"
And I follow "rename"
And I fill in "aspect_name" with "Unicorn People"
And I press "update"
Then I should see "Unicorn People" within "#aspect_name_title"
Scenario: infinite scroll on contacts index
Given I am signed in
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment