diff --git a/js/navigation.js b/js/navigation.js index 29febbe6c8..df66e747a6 100644 --- a/js/navigation.js +++ b/js/navigation.js @@ -459,7 +459,7 @@ function PMA_showCurrentNavigation() .children('div:first') .children('a.expander'); - if (! $expander.hasClass('loaded') ) { + if (! $expander.hasClass('loaded')) { loadChildNodes($expander, function (data) { highlightTableOrView($tableContainer, $viewContainer, table); }); diff --git a/js/tbl_change.js b/js/tbl_change.js index 452bc8abae..bee81315ba 100644 --- a/js/tbl_change.js +++ b/js/tbl_change.js @@ -154,14 +154,14 @@ function verificationsAfterFieldChange(urlField, multi_edit, theType) //To generate the textbox that can take the salt var new_salt_box = "
"; + + " id=salt_" + target.id + " placeholder='enter Salt'>"; //If AES_ENCRYPT is Selected then append the new textbox for salt - if (target.value == "AES_ENCRYPT" && !($("#salt_"+target.id).length)) { + if (target.value == "AES_ENCRYPT" && !($("#salt_" + target.id).length)) { $("input[name='fields[multi_edit][" + multi_edit + "][" + urlField + "]']").after(new_salt_box); } else { //The value of the select is no longer AES_ENCRYPT, remove the textbox for salt - $("#salt_"+target.id).remove(); + $("#salt_" + target.id).remove(); } // Unchecks the corresponding "NULL" control