Allow to set the onlineHelp via a config Object

For cases when we need to set the online help block id of a modal window after the help
button has been configured.
This commit is contained in:
Emmanuel Kasper 2017-08-24 11:45:18 +02:00 committed by Wolfgang Bumiller
parent 80adf793a8
commit f4824f0a69

View File

@ -52,6 +52,12 @@ Ext.define('PVE.button.Help', {
}
},
// helper to set the onlineHelp via a config object
setHelpConfig: function(config) {
var me = this;
me.setOnlineHelp(config.onlineHelp);
},
handler: function() {
var me = this;
var docsURI;