Ignore:
Timestamp:
08/04/09 11:01:58 (15 years ago)
Author:
ramonb
Message:

job_monarch/js/monarch.js:

  • more regression testing fixes
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/web/addons/job_monarch/js/monarch.js

    r638 r639  
    996996                new Ext.TabPanel(
    997997                {
    998                         id:             'tabPanel',
     998                        //id:           'tabPanel',
    999999                        xtype:          'tabpanel',
    10001000                        //region:               'center',
     
    10181018                                {
    10191019                                        fieldLabel:     'Metric',
    1020                                         id:             'myComboBox',
     1020                                        //id:           'myComboBox',
    10211021                                        store:          MetricsDataStore,
    10221022                                        valueField:     'name',
     
    10381038                                                        var metric      = record.data.name;
    10391039
    1040                                                         parentPanel     = this.findParentByType( 'tabpanel' );
    1041                                                         my_dataview     = parentPanel.getActiveTab();
     1040                                                        var parentPanel = this.findParentByType( 'tabpanel' );
     1041                                                        //var parentPanel       = Ext.getCmp( this.el.up( 'div.x-tab-panel' ).id );
     1042                                                        var my_dataview = parentPanel.getActiveTab();
    10421043
    10431044                                                        my_dataview.getStore().baseParams.metricname    = metric;
     
    10541055function createGraphWindow( panel, Button )
    10551056{
    1056         graphWindow =
     1057        var graphWindow =
    10571058
    10581059                new Ext.Window(
     
    10721073                        items:          panel,
    10731074               
    1074                         listeners:
    1075                         {
    1076                                 resize:
    1077 
    1078                                 function(  myWindow, width, height )
    1079                                 {
    1080                                         var myPanel     = myWindow.items.get( 'tabPanel' );
    1081                                         var myView      = myPanel.getActiveTab();
    1082 
    1083                                         myPanel.doLayout();
    1084                                         myWindow.doLayout();
    1085                                 }
    1086                         }
     1075                        //listeners:
     1076                        //{
     1077                        //      resize:
     1078
     1079                        //      function(  myWindow, width, height )
     1080                        //      {
     1081                        //              var myPanel     = myWindow.items.get( 'tabPanel' );
     1082                        //              var myView      = myPanel.getActiveTab();
     1083
     1084                        //              myPanel.doLayout();
     1085                        //              myWindow.doLayout();
     1086                        //      }
     1087                        //}
    10871088                });
    10881089
Note: See TracChangeset for help on using the changeset viewer.