Development

Changeset 8948

You must first sign up to be able to contribute.

Changeset 8948

Show
Ignore:
Timestamp:
05/14/08 12:48:25 (2 months ago)
Author:
Leon.van.der.Ree
Message:

changed implementation of even-handler to open grid-links

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • plugins/sfExtjsThemePlugin/config/app.yml

    r8934 r8948  
    1717    use_tinymce:              false 
    1818     
    19     #open_panel:              App.openPanel             # a method which accepts the moduleName and the item's-key, if not defined, the url will open in a new window
     19    #open_panel:              App.openPanel             # a method which accepts the event and target from the event-handler the event-object contains the moduleName and item's-key, if this method is not defined, the grids url will open as normal
    2020     
    2121    combo_box_class: ux.ComboBoxAutoLoad # form.ComboBox  # todo: obsolete should only use xtypes! not new form.combobox... 
  • plugins/sfExtjsThemePlugin/data/generator/sfPropelAdmin/extjs/template/templates/listAjaxGridPanelJsSuccess.pjs

    r8934 r8948  
    122122// openLink method 
    123123$sfExtjs2_<?php echo $panelName ?>_onLinkClick = " 
    124   var el = Ext.get(e.getTarget()); 
    125   var modulename = el.getAttributeNS('sf_ns','modulename'); 
    126   var key = el.getAttributeNS('sf_ns','key'); 
     124//  var el = Ext.get(e.getTarget()); 
     125//  var modulename = el.getAttributeNS('sf_ns','modulename'); 
     126//  var key = el.getAttributeNS('sf_ns','key'); 
    127127   
    128   <?php echo sfConfig::get('app_sf_extjs_theme_plugin_open_panel', 'NS.openPanelMethod') ?>(modulename, key); 
     128  <?php echo sfConfig::get('app_sf_extjs_theme_plugin_open_panel', 'NS.openPanelMethod') ?>(e, t); 
    129129"; 
    130130