# HG changeset patch # User durandn # Date 1427806798 -7200 # Node ID 54eb90122a72e568eb2acb794e9bab5ff87d5306 # Parent ef0bef32f490e492989a2abae3003594cda58222 Fixed javascript unexpected behavior with Chrome and toggling the details of categories in tab + Fixed javascript bug for adding a property in the editor + Now displaying the repo name in the changeset list and in the discussion list (previously was still "Atelier" unlike everywhere else) diff -r ef0bef32f490 -r 54eb90122a72 src/catedit/static/js/property_functions.js --- a/src/catedit/static/js/property_functions.js Thu Mar 26 16:03:05 2015 +0100 +++ b/src/catedit/static/js/property_functions.js Tue Mar 31 14:59:58 2015 +0200 @@ -19,8 +19,9 @@ if (selectElement.options[selectElement.selectedIndex].id != "property_type_default") { var selectedOptionValue = selectElement.options[selectElement.selectedIndex].value; var selectedOptionText = selectElement.options[selectElement.selectedIndex].text; - var propertyOptionObjectType = selectElement.options[selectElement.selectedIndex].label; + var propertyOptionObjectType = selectElement.options[selectElement.selectedIndex].className; var propertyObjectValue = "default: something went wrong" + console.log(propertyOptionObjectType) switch(propertyOptionObjectType) { case "literal": propertyObjectValue = document.getElementById('literal-field').value; diff -r ef0bef32f490 -r 54eb90122a72 src/catedit/templates/categories/editor.html --- a/src/catedit/templates/categories/editor.html Thu Mar 26 16:03:05 2015 +0100 +++ b/src/catedit/templates/categories/editor.html Tue Mar 31 14:59:58 2015 +0200 @@ -60,7 +60,7 @@