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:
2
.gitignore
vendored
2
.gitignore
vendored
@@ -1,4 +1,4 @@
|
||||
bproject
|
||||
nbproject/*
|
||||
workflow/engine/config/paths_installed.php
|
||||
gulliver/thirdparty/html2ps_pdf/cache
|
||||
workflow/engine/content/languages/translations.environments
|
||||
|
||||
@@ -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,
|
||||
@@ -1234,6 +1234,15 @@ Ext.onReady ( function() {
|
||||
}
|
||||
}
|
||||
|
||||
var resetSuggestButton = {
|
||||
text:'X',
|
||||
ctCls:"pm_search_x_button_des",
|
||||
handler: function(){
|
||||
suggestUser.setValue('');
|
||||
doSearch();
|
||||
}
|
||||
}
|
||||
|
||||
textJump = {
|
||||
xtype: 'numberfield',
|
||||
id : 'textJump',
|
||||
@@ -1866,6 +1875,7 @@ Ext.onReady ( function() {
|
||||
_("ID_USER"),
|
||||
//comboUser,
|
||||
suggestUser,
|
||||
resetSuggestButton,
|
||||
' '
|
||||
//'-',
|
||||
//textSearch,
|
||||
|
||||
Reference in New Issue
Block a user