Skip to content
Extraits de code Groupes Projets
Valider 2c4dc830 rédigé par flaburgan's avatar flaburgan
Parcourir les fichiers

Fix aspect renaming after a regression caused by jquery upgrade, close #4822

parent f12546bb
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -17,7 +17,7 @@ function updatePageAspectName( an_id, new_name) { ...@@ -17,7 +17,7 @@ function updatePageAspectName( an_id, new_name) {
} }
$(document).ready(function() { $(document).ready(function() {
$('#aspect_name_title').on('click', '#rename_aspect_link', function(){ $(document).on('click', '#rename_aspect_link', function(){
toggleAspectTitle(); toggleAspectTitle();
}); });
......
...@@ -53,6 +53,17 @@ Feature: User manages contacts ...@@ -53,6 +53,17 @@ Feature: User manages contacts
When I uncheck the first contact list button When I uncheck the first contact list button
Then I should have 0 contacts in "Cat People" 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 Scenario: infinite scroll on contacts index
Given I am signed in Given I am signed in
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter