Revision aeacf6a7

View differences:

src/sunstone/public/js/plugins/vms-tab.js
297 297
            //update the tab and pop it up again
298 298
            var log_lines = res.split("\n");
299 299
            var colored_log = '';
300
            for (var line = 0; line < log_lines.length;++line){
301
                line = log_lines[line];
300
            for (var i = 0; i < log_lines.length;i++){
301
                var line = log_lines[i];
302 302
                if (line.match(/\[E\]/)){
303 303
                    line = '<span class="vm_log_error">'+line+'</span>';
304 304
                }
src/sunstone/public/js/sunstone-util.js
352 352
        var value;
353 353
        rows = ["method","action","object","id","reason"];
354 354
        message = "";
355
        for (i = 0; i<rows.length; ++i){
355
        for (i = 0; i<rows.length; i++){
356 356
            key = rows[i];
357 357
            value = eval(key);
358 358
            if (value)

Also available in: Unified diff