Revision 08cc1924 ui/templates/machines.html

b/ui/templates/machines.html
593 593
        top: '10%',
594 594
        closeOnClick: false,
595 595
        oneInstance: false,
596
        load: false
596
        load: false,
597
        onClose: function() {
598
            // remove all entries so they won't be preloaded next time you open the dialog
599
            $("#editor-1 div.content ul.meta-list").empty();
600
        },
601
        onLoad: function() {
602
            // this is a work around for the mask not appearing problem
603
            $("#editor-1").expose();
604
        }
597 605
    });
598 606
    // get metadata for current server and fill the dialog
599 607
    serverID = $("#editor-1 h3").attr('id');
......
611 619
        top: '10%',
612 620
        closeOnClick: false,
613 621
        oneInstance: false,
614
        load: false
622
        load: false,
623
        onLoad: function() {
624
            // this is a work around for the mask not appearing problem
625
            $("#editor-2").expose();
626
        }
615 627
    });
616 628
    $("a#meta-editor-2").data('overlay').load();
617 629
    return false; 

Also available in: Unified diff