Ignore:
Timestamp:
07/15/08 09:55:27 (14 years ago)
Author:
ramonb
Message:

job_monarch/templates/header.tpl:

  • load Window's after showing, so that loadMask is displayed

job_monarch/jobstore.php:

  • new summary task for summarywindow

job_monarch/js/jobgrid.js:

  • some code cleanup
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/web2/addons/job_monarch/templates/header.tpl

    r552 r553  
    1717Ext.onReady( function(){
    1818  initJobGrid();
    19   JobProxy.on('beforeload', function(p, params) {
     19  JobProxy.on('beforeload', function(p, params)
     20    {
    2021        params.c = "{cluster}";
    2122        newparams = joinMyArray( params, myfilters );
     
    2324        params = newparams;
    2425    });
     26
    2527  ClusterImageArgs['{session_name}'] = '{session_id}';
    2628  ClusterImageArgs['c'] = '{cluster}';
     29
    2730  ClusterImageWindow.html = '<IMG ID="clusterimage" SRC="{clusterimage}" USEMAP="#MONARCH_CLUSTER_BIG" BORDER="0">';
    2831  ClusterImageWindow.height = '{clusterimage_height}';
     
    3033  ClusterImageWindow.x = (window.innerWidth - ClusterImageWindow.width - 25);
    3134  ClusterImageWindow.show();
    32   JobsDataStore.load( {params: {start: 0, limit: 30}} );
     35  reloadClusterImage();
     36
    3337  JobListingWindow.setTitle( "{cluster} Jobs Overview" );
    3438  JobListingWindow.y = ({clusterimage_height} + 150);
    3539  JobListingWindow.show();
     40  reloadJobStore();
    3641  });
    3742</script>
Note: See TracChangeset for help on using the changeset viewer.