Fix the 2 observations made by the QA team regarding the use of the suggest user component, also adds the [x] clean button

This commit is contained in:
Gustavo Cruz
2015-02-20 10:27:44 -04:00
parent f236137634
commit 5110afcd3e
2 changed files with 13 additions and 3 deletions

2
.gitignore vendored
View File

@@ -1,4 +1,4 @@
bproject
nbproject/*
workflow/engine/config/paths_installed.php
gulliver/thirdparty/html2ps_pdf/cache
workflow/engine/content/languages/translations.environments

View File

@@ -1170,7 +1170,7 @@ Ext.onReady ( function() {
store: userStore,
valueField : 'USR_UID',
displayField:'USR_FULLNAME',
typeAhead: true,
typeAhead: false,
triggerAction: 'all',
emptyText : _('ID_ALL_USERS'),
selectOnFocus : true,
@@ -1178,7 +1178,7 @@ Ext.onReady ( function() {
width: 180,
allowBlank : true,
autocomplete: true,
typeAhead: true,
minChars: 1,
hideTrigger:true,
listeners:{
scope: this,
@@ -1233,6 +1233,15 @@ Ext.onReady ( function() {
doSearch();
}
}
var resetSuggestButton = {
text:'X',
ctCls:"pm_search_x_button_des",
handler: function(){
suggestUser.setValue('');
doSearch();
}
}
textJump = {
xtype: 'numberfield',
@@ -1866,6 +1875,7 @@ Ext.onReady ( function() {
_("ID_USER"),
//comboUser,
suggestUser,
resetSuggestButton,
'   '
//'-',
//textSearch,