Sha256: 67b8a97654eedd35056d4e71325afcd2847b0e4bb90df911113edfda9cf0ebea
Contents?: true
Size: 1.21 KB
Versions: 4
Compression:
Stored size: 1.21 KB
Contents
$(document).ready(function() { if (!($.cookie('cpee_iagree'))) { var skip = false; $('body').children().each(function(key,c){ if (skip) { $(c).remove(); } else { $(c).removeClass('hidden'); } skip = true; }); $("#iagree").click(function(){ if($(this).is(':checked')){ $("#icontinue").prop("disabled", false); } else { $("#icontinue").prop("disabled", true); } }); $("#icontinue").click(function(){ $.cookie('cpee_iagree','yes'); location.reload(); }); } }); // 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 = $('ui-tabbar ui-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
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
cpee-1.3.181 | cockpit/js/ui.js |
cpee-1.3.180 | cockpit/js/ui.js |
cpee-1.3.179 | cockpit/js/ui.js |
cpee-1.3.178 | cockpit/js/ui.js |