Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMadhura Jayaratne <madhura.cj@gmail.com>2015-07-02 19:57:46 +0300
committerMadhura Jayaratne <madhura.cj@gmail.com>2015-07-02 19:57:46 +0300
commit3e9b97ef6ca97b51611dfaaa0d2288e609ac5b70 (patch)
tree59ca37201636f00d1014156a9e63b46c269c181a /js/normalization.js
parent89b75b3a4e94fb33e427281dce12fe474c248291 (diff)
These are local variables
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
Diffstat (limited to 'js/normalization.js')
-rw-r--r--js/normalization.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/normalization.js b/js/normalization.js
index 6a90720a91..8e008389da 100644
--- a/js/normalization.js
+++ b/js/normalization.js
@@ -241,7 +241,7 @@ function goTo3NFFinish(newTables)
{
for (var table in newTables) {
for (var newtbl in newTables[table]) {
- updatedname = $('#extra input[name="' + newtbl + '"]').val();
+ var updatedname = $('#extra input[name="' + newtbl + '"]').val();
newTables[table][updatedname] = newTables[table][newtbl];
if (updatedname !== newtbl) {
delete newTables[table][newtbl];
@@ -580,7 +580,7 @@ AJAX.registerOnload('normalization.js', function() {
return false;
});
$(".tblFooters").on("click", "#saveNewPrimary", function() {
- datastring = $('#newCols :input').serialize();
+ var datastring = $('#newCols :input').serialize();
datastring += "&field_key[0]=primary_0&ajax_request=1&do_save_data=1&field_where=last";
$.post("tbl_addfield.php", datastring, function(data) {
if (data.success === true) {