Sha256: 3e8d10a068fae90da382b74af110e85b0d9178efb8bbd93be34951c032f335ef

Contents?: true

Size: 570 Bytes

Versions: 72

Compression:

Stored size: 570 Bytes

Contents

$(document).ready(function() {
  $('#model ui-content ui-area > button').click(function(event){
    var but = $(document).find('#model ui-content ui-area:not(.inactive) > div button');
        but.click();
    var inp = $(document).find('#model ui-content ui-area:not(.inactive) > div input');
        $(inp[inp.length-2]).focus();
    var are = $(document).find('#model ui-content ui-area:not(.inactive) > div');
    var tab = $(document).find('#model ui-content ui-area:not(.inactive) > div > div');
        are.animate({ scrollTop: tab.height() }, "slow");
  });
});

Version data entries

72 entries across 72 versions & 1 rubygems

Version Path
cpee-2.1.8 cockpit/js/model.js
cpee-2.1.7 cockpit/js/model.js
cpee-2.1.6 cockpit/js/model.js
cpee-2.1.5 cockpit/js/model.js
cpee-2.1.4 cockpit/js/model.js
cpee-2.1.2 cockpit/js/model.js
cpee-2.1.1 cockpit/js/model.js
cpee-2.1.0 cockpit/js/model.js
cpee-2.0.30 cockpit/js/model.js
cpee-2.0.28 cockpit/js/model.js
cpee-2.0.27 cockpit/js/model.js
cpee-2.0.26 cockpit/js/model.js