]> git.proxmox.com Git - pve-manager.git/commitdiff
add activeTitle helper
authorDietmar Maurer <dietmar@proxmox.com>
Thu, 10 Nov 2016 10:33:00 +0000 (11:33 +0100)
committerDietmar Maurer <dietmar@proxmox.com>
Thu, 10 Nov 2016 10:33:53 +0000 (11:33 +0100)
www/manager6/window/Wizard.js

index 31628433165be4674cd48a1ac8e8a15b2a0c4d5e..7c10c5cbe7b5a8005a616e2a1e3b07e2d2aab7ea 100644 (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;