diff --git a/main/template/default/skill/skill_tree.tpl b/main/template/default/skill/skill_tree.tpl index 8366d9b391..ed8a777816 100644 --- a/main/template/default/skill/skill_tree.tpl +++ b/main/template/default/skill/skill_tree.tpl @@ -45,7 +45,7 @@ jsPlumb.bind("ready", function() { autoOpen: false, modal : true, width : 550, - height : 450, + height : 480 }); //Filling skills select @@ -105,7 +105,7 @@ jsPlumb.bind("ready", function() { $("#dialog-form").dialog({ buttons: { - "Add" : function() { + "{"Add"|get_lang}" : function() { var bValid = true; bValid = bValid && checkLength( name, "name", 1, 255 ); @@ -125,7 +125,7 @@ jsPlumb.bind("ready", function() { } }); } - }, + } }, close: function() { $("#name").attr('value', ''); @@ -211,7 +211,7 @@ jsPlumb.bind("ready", function() { jQuery.each(skill.gradebooks, function(index, data) { $("#gradebook_id option[value='"+data.id+"']").attr('selected', 'selected'); }); - }, + } }); $("#gradebook_id").trigger("liszt:updated"); @@ -348,16 +348,16 @@ $(document).ready( function() { })(); -