PMC-974: Back Button: Use the filters saved and add the button return
complete icon, and validations for filters remove d character clean code remove extra line solve
This commit is contained in:
committed by
Julio Cesar Laura Avendaño
parent
214c3f4491
commit
77050d255e
@@ -143,7 +143,9 @@ Ext.onReady(function(){
|
||||
}
|
||||
actionMenu.show();
|
||||
break;
|
||||
|
||||
case 'RETURN_ADVANCED_SEARCH':
|
||||
Ext.getCmp('returnButton').show();
|
||||
break;
|
||||
// custom menus from plugins or others
|
||||
default:
|
||||
var navPanel = Ext.getCmp('navPanel');
|
||||
@@ -498,7 +500,24 @@ Ext.onReady(function(){
|
||||
region: 'center',
|
||||
layout: 'border',
|
||||
items: [navPanelWest, navPanelCenter],
|
||||
tbar: [{
|
||||
tbar: [
|
||||
{
|
||||
id: 'returnButton',
|
||||
pressed: false,
|
||||
enableToggle: true,
|
||||
text: _('ID_RETURN_ADVANCED_SEARCH'),
|
||||
iconCls: 'button_menu_ext ICON_RETURN',
|
||||
tooltip: {
|
||||
title:_('ID_RETURN_ADVANCED_SEARCH'),
|
||||
text: _('ID_SHOW_RETURN_ADVANCED_SEARCH')
|
||||
},
|
||||
toggleHandler: function (btn, pressed) {
|
||||
if (history) {
|
||||
history.go(-1);
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
id: 'stepsMenu',
|
||||
text: ' ' + _('ID_STEPS'),
|
||||
pressed: false,
|
||||
@@ -535,7 +554,8 @@ Ext.onReady(function(){
|
||||
closeCaseNotesWindow();
|
||||
}
|
||||
}
|
||||
}]
|
||||
}
|
||||
]
|
||||
};
|
||||
|
||||
/**
|
||||
@@ -577,6 +597,7 @@ Ext.onReady(function(){
|
||||
Ext.getCmp('caseNotes').hide();
|
||||
Ext.getCmp('informationMenu').hide();
|
||||
Ext.getCmp('actionMenu').hide();
|
||||
Ext.getCmp('returnButton').hide();
|
||||
|
||||
hideCaseNavigatorPanel();
|
||||
if(typeof appStatus !== "undefined") {
|
||||
|
||||
Reference in New Issue
Block a user