The branch, master has been updated
via 6d05e375e8645cb53293ba53fe8d48c96e38f3e7 (commit)
via 0310966ed2b3169af9fd0cdc2e9c3968818037a9 (commit)
from ab6c0126bfb392e944f09e0e8f0923b373ad96df (commit)
- Log -----------------------------------------------------------------
commit 6d05e375e8645cb53293ba53fe8d48c96e38f3e7
Author: Michal Čihař <mcihar(a)novell.com>
Date: Mon Apr 12 16:56:13 2010 +0200
Initialize variable in case first loop fails.
commit 0310966ed2b3169af9fd0cdc2e9c3968818037a9
Author: Michal Čihař <mcihar(a)novell.com>
Date: Mon Apr 12 16:55:03 2010 +0200
Fix assignment.
-----------------------------------------------------------------------
Summary of changes:
js/functions.js | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/js/functions.js b/js/functions.js
index a9346fe..2f15915 100644
--- a/js/functions.js
+++ b/js/functions.js
@@ -465,7 +465,7 @@ function showDetails(i, update_size, insert_size, remove_size,
insert_index, rem
//The case when the row showing the details need to be removed from the table i.e.
the difference button is deselected now.
var table_rows = table_body.getElementsByTagName("tr");
var j;
- var index;
+ var index = 0;
for (j=0; j < table_rows.length; j++)
{
if (table_rows[j].id == i) {
@@ -1668,7 +1668,7 @@ function requestMIMETypeChange(db, table, reference,
current_mime_type)
{
// no mime type specified, set to default (nothing)
if (undefined == current_mime_type)
- current_mime_type == "";
+ current_mime_type = "";
// prompt user for new mime type
var new_mime_type = prompt("Enter custom MIME type", current_mime_type);
hooks/post-receive
--
phpMyAdmin
Show replies by date