Sha256: 1f79d9ce61cbfed395ada5a07559082bf68f4783994f34fd991cc745a1011f42
Contents?: true
Size: 1.33 KB
Versions: 3
Compression:
Stored size: 1.33 KB
Contents
$(document).ready(function() { if (!($.browser.mozilla && parseInt($.browser.version) >= 8) && !($.browser.webkit && parseInt($.browser.version) >= 535)) { $('body').children().remove(); $('body').append('Sorry, only Firefox >= 8.0 and Chrom(e|ium) >= 17 for now.'); } // Resize areas $('#detailcolumn').resizable({ handles: { 'w' : '#handle2'}, resize: function(event, ui) { if ($.browser.webkit) { $('#handle2').offset({ left: ui.helper.offset().left+3 }); } } }); $('#parameters .tabbelow').resizable({ handles: { 's' : '#handle1'}, resize: function(event, ui) { $('#parameters .tabbelow').css('width',''); } }); }); // flexible parameter input function remove_entry(target,foc) { //{{{ var tr = $($(target).parents('tr').get(0)); if (foc) { var par = tr.parent(); $('input.' + $(target).attr('class'),par).each(function(){ if (this == target) { if (prev) prev.focus(); return false; } prev = this; }); } tr.remove(); } //}}} function new_entry(top) { //{{{ var visid = $('table.tabbar td.tab',top).not('.switch').not('.inactive').attr('id').replace(/tab/,''); var node = $('#dat_template_pair tr').clone(); var vnode = $('#dat_' + visid).append(node); $('.pair_name',vnode).focus(); return node; } //}}}
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
cpee-1.3.104 | cockpit/js/ui.js |
cpee-1.3.103 | cockpit/js/ui.js |
cpee-1.3.102 | cockpit/js/ui.js |