Fix Bug 6189 for IE

This commit is contained in:
Enrique Ponce de Leon
2011-02-23 15:22:43 +00:00
parent c39de6aba3
commit b467a2cdef

View File

@@ -4,7 +4,8 @@
*/
//Keyboard Events
new Ext.KeyMap(document, [
new Ext.KeyMap(document,
[
{
key: Ext.EventObject.F5,
fn: function(keycode, e) {
@@ -20,9 +21,9 @@ new Ext.KeyMap(document, [
Ext.Msg.alert('Refresh', 'You clicked: CTRL-F5');
}
}
}
}
,
{
{
key: Ext.EventObject.DELETE,
fn: function(k,e){
iGrid = Ext.getCmp('infoGrid');
@@ -31,8 +32,8 @@ new Ext.KeyMap(document, [
DeleteButtonAction();
}
}
},
{
},
{
key: Ext.EventObject.F2,
fn: function(k,e){
iGrid = Ext.getCmp('infoGrid');
@@ -41,8 +42,8 @@ new Ext.KeyMap(document, [
EditGroupWindow();
}
}
}
]);
}
]);
var store;
var cmodel;
@@ -196,7 +197,7 @@ Ext.onReady(function(){
],
buttons: [
{text: _('ID_SAVE'), handler: SaveEditGroupAction},
{text: _('ID_CANCEL'), handler: CloseWindow},
{text: _('ID_CANCEL'), handler: CloseWindow}
]
});
@@ -278,7 +279,6 @@ Ext.onReady(function(){
enableColumnResize: true,
enableHdMenu: true,
frame:false,
//iconCls:'icon-grid',
columnLines: false,
viewConfig: {
forceFit:true
@@ -493,8 +493,8 @@ DeleteButtonAction = function(){
render_status = function(v){
switch(v){
case 'ACTIVE': return '<font color="green">' + _('ID_ACTIVE') + '</font>'; break;
case 'INACTIVE': return '<font color="red">' + _('ID_INACTIVE') + '</font>';; break;
case 'VACATION': return '<font color="blue">' + _('ID_VACATION') + '</font>';; break;
case 'INACTIVE': return '<font color="red">' + _('ID_INACTIVE') + '</font>'; break;
case 'VACATION': return '<font color="blue">' + _('ID_VACATION') + '</font>'; break;
}
};