Coding style: spaces around operator

This commit is contained in:
Michal Čihař 2013-10-02 11:33:08 +02:00
parent 58d7005a42
commit bf4b0c8162
2 changed files with 4 additions and 4 deletions

View File

@ -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);
});

View File

@ -154,14 +154,14 @@ function verificationsAfterFieldChange(urlField, multi_edit, theType)
//To generate the textbox that can take the salt
var new_salt_box = "<br><input type=text name=salt[multi_edit][" + multi_edit + "][" + urlField + "]"
+" id=salt_"+target.id+" placeholder='enter Salt'>";
+ " 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