mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-11 07:55:47 +01:00
added option to disable auto hide for help texts
This commit is contained in:
@@ -52,12 +52,18 @@ Ext.override(Ext.form.Field, {
|
|||||||
cls: cls
|
cls: cls
|
||||||
});
|
});
|
||||||
|
|
||||||
Ext.QuickTips.register({
|
var quickTip = {
|
||||||
target : helpButton,
|
target : helpButton,
|
||||||
title : '',
|
title : '',
|
||||||
text : text,
|
text : text,
|
||||||
enabled : true
|
enabled : true
|
||||||
});
|
};
|
||||||
|
|
||||||
|
if (this.helpDisableAutoHide){
|
||||||
|
quickTip.autoHide = !this.helpDisableAutoHide;
|
||||||
|
}
|
||||||
|
|
||||||
|
Ext.QuickTips.register(quickTip);
|
||||||
},
|
},
|
||||||
|
|
||||||
getHelpButtonClass: function(){
|
getHelpButtonClass: function(){
|
||||||
|
|||||||
Reference in New Issue
Block a user