Fixed issues in enum editor in table insert column option

This commit is contained in:
Thilanka Kaushalya 2011-07-22 23:31:44 +05:30
parent 15a9db72b3
commit 710362f869

View File

@ -2111,6 +2111,10 @@ $(document).ready(function() {
$("#popup_background").css({"opacity":"0.7"});
$("#popup_background").fadeIn("fast");
$("#enum_editor").fadeIn("fast");
/**Replacing the column name in the enum editor hearder*/
var column_name = $("#append_fields_form").find("input[id=field_0_1]").attr("value");
var h3_text = $("#enum_editor h3").html();
$("#enum_editor h3").html(h3_text.split('"')[0]+'"'+column_name+'"');
// Get the values
var values = $(this).parent().prev("input").attr("value").split(",");