diff --git a/js/functions.js b/js/functions.js index a2292031f..4dafee815 100644 --- a/js/functions.js +++ b/js/functions.js @@ -1785,7 +1785,11 @@ $(document).ready(function() { // Get the values var values = $(this).parent().prev("input").attr("value").split(","); $.each(values, function(index, val) { - $("#enum_editor #values").append(""); + if(jQuery.trim(val) != "") { + $("#enum_editor #values").append(""); + } else { + $("#enum_editor #values").append(""); + } }); // So we know which column's data is being edited $("#enum_editor").append(""); @@ -1826,3 +1830,53 @@ $(document).ready(function() { } }); }); + +/** + * Hides certain table structure actions, replacing them with the word "More". They are displayed + * in a dropdown menu when the user hovers over the word "More." + */ +$(document).ready(function() { + // Remove the