The branch, master has been updated via c689bc2061b4bb4c2a7e4d6cbda1c630fc9466dd (commit) via 89329a8db0fd0916cf64a0a1da31bdbc1caafe6f (commit) from c03aab6dca3a1beed6b7ee1413465360d4aba195 (commit)
- Log ----------------------------------------------------------------- commit c689bc2061b4bb4c2a7e4d6cbda1c630fc9466dd Author: Michal Čihař mcihar@novell.com Date: Wed Sep 22 12:02:01 2010 +0200
Whitespace cleanup.
commit 89329a8db0fd0916cf64a0a1da31bdbc1caafe6f Author: Michal Čihař mcihar@novell.com Date: Wed Sep 22 12:01:49 2010 +0200
Go directly to table create page.
-----------------------------------------------------------------------
Summary of changes: pmd/scripts/move.js | 18 +++++++++--------- 1 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/pmd/scripts/move.js b/pmd/scripts/move.js index f07d806..a2f1dcd 100644 --- a/pmd/scripts/move.js +++ b/pmd/scripts/move.js @@ -566,7 +566,7 @@ function New_relation()
function Start_table_new() { - window.location.href = 'db_operations.php?server=' + server + '&db=' + db + '&token=' + token; + window.location.href = 'tbl_create.php?server=' + server + '&db=' + db + '&token=' + token; }
function Start_tab_upd(table) @@ -921,19 +921,19 @@ function Start_display_field() } //------------------------------------------------------------------------------ var TargetColors = new Array(); -function getColorByTarget( target ) -{ +function getColorByTarget( target ) +{ var color = ''; //"rgba(0,100,150,1)";
for (i in TargetColors) if (TargetColors[i][0]==target) { color = TargetColors[i][1]; - break; - } + break; + }
if (color.length==0) - { + { var i = TargetColors.length+1; var d = i % 6; var j = (i - d) / 6; @@ -951,7 +951,7 @@ function getColorByTarget( target ) var b = color_case[d][1]; var c = color_case[d][2]; e = (1 - (j - 1) / 6); - + var r = Math.round(a * 200 * e); var g = Math.round(b * 200 * e); var b = Math.round(c * 200 * e); @@ -959,8 +959,8 @@ function getColorByTarget( target )
TargetColors.push( new Array(target, color) );
- + }
- return color; + return color; }
hooks/post-receive