mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-22 18:50:08 +03:00
Bug #645: Small fixes in new loops.
This commit is contained in:
parent
993cc81d38
commit
aeacf6a7c8
@ -297,8 +297,8 @@ var vm_actions = {
|
||||
//update the tab and pop it up again
|
||||
var log_lines = res.split("\n");
|
||||
var colored_log = '';
|
||||
for (var line = 0; line < log_lines.length;++line){
|
||||
line = log_lines[line];
|
||||
for (var i = 0; i < log_lines.length;i++){
|
||||
var line = log_lines[i];
|
||||
if (line.match(/\[E\]/)){
|
||||
line = '<span class="vm_log_error">'+line+'</span>';
|
||||
}
|
||||
|
@ -352,7 +352,7 @@ function onError(request,error_json) {
|
||||
var value;
|
||||
rows = ["method","action","object","id","reason"];
|
||||
message = "";
|
||||
for (i = 0; i<rows.length; ++i){
|
||||
for (i = 0; i<rows.length; i++){
|
||||
key = rows[i];
|
||||
value = eval(key);
|
||||
if (value)
|
||||
|
Loading…
x
Reference in New Issue
Block a user