add activeTitle helper

This commit is contained in:
Dietmar Maurer 2016-11-10 11:33:00 +01:00
parent ac47b0d215
commit d2d65f1d5b

View File

@ -1,5 +1,7 @@
Ext.define('PVE.window.Wizard', {
extend: 'Ext.window.Window',
activeTitle: '', // used for automated testing
getValues: function(dirtyOnly) {
var me = this;
@ -129,6 +131,7 @@ Ext.define('PVE.window.Wizard', {
});
var display_header = function(newcard) {
me.activeTitle = newcard.title;
var html = '<h1>' + newcard.title + '</h1>';
if (newcard.descr) {
html += newcard.descr;