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
|
workflow/engine/config/paths_installed.php
|
||||||
gulliver/thirdparty/html2ps_pdf/cache
|
gulliver/thirdparty/html2ps_pdf/cache
|
||||||
workflow/engine/content/languages/translations.environments
|
workflow/engine/content/languages/translations.environments
|
||||||
|
|||||||
@@ -1170,7 +1170,7 @@ Ext.onReady ( function() {
|
|||||||
store: userStore,
|
store: userStore,
|
||||||
valueField : 'USR_UID',
|
valueField : 'USR_UID',
|
||||||
displayField:'USR_FULLNAME',
|
displayField:'USR_FULLNAME',
|
||||||
typeAhead: true,
|
typeAhead: false,
|
||||||
triggerAction: 'all',
|
triggerAction: 'all',
|
||||||
emptyText : _('ID_ALL_USERS'),
|
emptyText : _('ID_ALL_USERS'),
|
||||||
selectOnFocus : true,
|
selectOnFocus : true,
|
||||||
@@ -1178,7 +1178,7 @@ Ext.onReady ( function() {
|
|||||||
width: 180,
|
width: 180,
|
||||||
allowBlank : true,
|
allowBlank : true,
|
||||||
autocomplete: true,
|
autocomplete: true,
|
||||||
typeAhead: true,
|
minChars: 1,
|
||||||
hideTrigger:true,
|
hideTrigger:true,
|
||||||
listeners:{
|
listeners:{
|
||||||
scope: this,
|
scope: this,
|
||||||
@@ -1233,6 +1233,15 @@ Ext.onReady ( function() {
|
|||||||
doSearch();
|
doSearch();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
var resetSuggestButton = {
|
||||||
|
text:'X',
|
||||||
|
ctCls:"pm_search_x_button_des",
|
||||||
|
handler: function(){
|
||||||
|
suggestUser.setValue('');
|
||||||
|
doSearch();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
textJump = {
|
textJump = {
|
||||||
xtype: 'numberfield',
|
xtype: 'numberfield',
|
||||||
@@ -1866,6 +1875,7 @@ Ext.onReady ( function() {
|
|||||||
_("ID_USER"),
|
_("ID_USER"),
|
||||||
//comboUser,
|
//comboUser,
|
||||||
suggestUser,
|
suggestUser,
|
||||||
|
resetSuggestButton,
|
||||||
' '
|
' '
|
||||||
//'-',
|
//'-',
|
||||||
//textSearch,
|
//textSearch,
|
||||||
|
|||||||
Reference in New Issue
Block a user