Ignore:
Timestamp:
03/28/13 12:12:23 (9 years ago)
Author:
ramonb
Message:
  • fixed image map
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/0.4/web/addons/job_monarch/libtoga.php

    r759 r764  
    13941394        $this->output    = 0;
    13951395    }
    1396     function setJobs($jobs )
    1397     {
    1398         $this->jobs     = &$jobs;
    1399     }
    14001396    function getJobs()
    14011397    {
     
    14081404
    14091405        return $this->jobs;
     1406    }
     1407    function setJobs($jobs)
     1408    {
     1409        $this->jobs   = &$jobs;
    14101410    }
    14111411    function getNodes()
     
    20432043        $clusterimage_map    = "";
    20442044
    2045         foreach( $this->nodes as $hostname => $node )
    2046         {
    2047             $node_map        = $node->getImagemapArea();
    2048             $clusterimage_map    .= $node_map;
     2045        $nodes = &$this->getNodes();
     2046
     2047        foreach( $nodes as $node )
     2048        {
     2049            $node_map          = $node->getImagemapArea();
     2050            $clusterimage_map .= $node_map;
    20492051        }
    20502052
Note: See TracChangeset for help on using the changeset viewer.