rem stringlengths 0 126k | add stringlengths 0 441k | context stringlengths 15 136k |
|---|---|---|
if (node.data.type == 'course' || node.children[0].data.gid != 'undefined' || node.data.type == 'forum' || node.data.type == 'quiz') { | if (node_children_length === 0) { | update_parent_node : function(AJAXtree, node) { var counter = node.children.length; if (counter === 0) { AJAXtree.tree.removeNode(node, true); } else { if (node.data.type == 'course' || node.children[0].data.gid != 'undefined' || node.data.type == 'forum' || node.data.type... |
var tempCount = 0; var tempStr = ''; for (i=0;i<counter;i++) { tempStr = node.children[i].data.count; tempCount += parseInt(tempStr, 10); } | this.removeNode(parent_node_to_update, true); | update_parent_node : function(AJAXtree, node) { var counter = node.children.length; if (counter === 0) { AJAXtree.tree.removeNode(node, true); } else { if (node.data.type == 'course' || node.children[0].data.gid != 'undefined' || node.data.type == 'forum' || node.data.type... |
YAHOO.ajax_marking_block.update_node_count(node, tempCount); } else { YAHOO.ajax_marking_block.update_node_count(node, counter); } | } else { | update_parent_node : function(AJAXtree, node) { var counter = node.children.length; if (counter === 0) { AJAXtree.tree.removeNode(node, true); } else { if (node.data.type == 'course' || node.children[0].data.gid != 'undefined' || node.data.type == 'forum' || node.data.type... |
AJAXtree.tree.root.refresh(); | var running_total = 0; var child_count = ''; | update_parent_node : function(AJAXtree, node) { var counter = node.children.length; if (counter === 0) { AJAXtree.tree.removeNode(node, true); } else { if (node.data.type == 'course' || node.children[0].data.gid != 'undefined' || node.data.type == 'forum' || node.data.type... |
}, | this.update_node_count(parent_node_to_update, running_total); } this.update_parent_node(parent_node_to_update.parent); return true; }; | update_parent_node : function(AJAXtree, node) { var counter = node.children.length; if (counter === 0) { AJAXtree.tree.removeNode(node, true); } else { if (node.data.type == 'course' || node.children[0].data.gid != 'undefined' || node.data.type == 'forum' || node.data.type... |
update_total_count : function() { | YAHOO.ajax_marking_block.tree_base.prototype.update_total_count = function() { | update_total_count : function() { var count = 0; var countTemp = 0; var children = YAHOO.ajax_marking_block.main.root.children; for (i=0;i<children.length;i++) { countTemp = children[i].data.count; count = count + parseInt(countTemp, 10); } if ... |
var count = 0; var countTemp = 0; var children = YAHOO.ajax_marking_block.main.root.children; | var total_count = 0; var child_count = 0; var children = this.root.children; var children_length = children.length; for (var i=0;i<children_length;i++) { child_count = children[i].data.count; total_count += parseInt(child_count, 10); } if (total_count > 0) { document.getElementById('totalmessage').styl... | update_total_count : function() { var count = 0; var countTemp = 0; var children = YAHOO.ajax_marking_block.main.root.children; for (i=0;i<children.length;i++) { countTemp = children[i].data.count; count = count + parseInt(countTemp, 10); } if ... |
for (i=0;i<children.length;i++) { countTemp = children[i].data.count; count = count + parseInt(countTemp, 10); } if (count > 0) { document.getElementById('totalmessage').style.visibility = 'visible'; var countDiv = document.getElementById('count'); YAHOO.ajax_marking_block.remove_all_child_nodes(countDiv); countDiv.app... | } else { document.getElementById('totalmessage').style.visibility = 'collapse'; YAHOO.ajax_marking_block.remove_all_child_nodes(document.getElementById('count')); } }; | update_total_count : function() { var count = 0; var countTemp = 0; var children = YAHOO.ajax_marking_block.main.root.children; for (i=0;i<children.length;i++) { countTemp = children[i].data.count; count = count + parseInt(countTemp, 10); } if ... |
this.grid.startEditing(0,0); this.grid.stopEditing(); | if(this.grid.hasReorder) { this.grid.startEditing(0,0); this.grid.stopEditing(); } | updateAction : function() { if (this.isFormValid()) { if (this.record !== null) { if (this.inputLines) { for (var i = 0; i < this.inputLines.length; i++) { var inputLine = this.inputLines[i]; if(inputLine.dataIndex!=nu... |
this.grid.startEditing(0,0); this.grid.stopEditing(); | updateAction : function() { if (this.isFormValid()) { if (this.record !== null) { if (this.inputLines) { for (var i = 0; i < this.inputLines.length; i++) { var inputLine = this.inputLines[i]; if(inputLine.dataIndex!=nu... | |
this.grid.startEditing(0,0); this.grid.stopEditing(); | if(this.grid.hasReorder) { this.grid.startEditing(0,0); this.grid.stopEditing(); } | updateActionTree : function() { if (!this.isFormValid()) { Ext.MessageBox.alert(i18n._('Warning'), i18n._("The form is not valid!")); return; } if (this.record !== null) { this.updateActionChild(this, this.record); if(this.addMode) { ... |
this.grid.startEditing(0,0); this.grid.stopEditing(); | updateActionTree : function() { if (!this.isFormValid()) { Ext.MessageBox.alert(i18n._('Warning'), i18n._("The form is not valid!")); return; } if (this.record !== null) { this.updateActionChild(this, this.record); if(this.addMode) { ... | |
$('.add-data, select').unbind(); $('.add-data, #branches').change(onAddBranches); $('.add-data, #tests').click(onAddTests); | $('.add-data select').unbind(); $('.add-data #branches').change(onAddBranches); $('.add-data #tests').click(onAddTests); | function updateBindings() { $('#plot').bind('plothover', onPlotHover); $('#plot').bind('plotclick', onPlotClick); $('#plot').bind('plotselected', onPlotSelect); $('#overview').bind('plotselected', onOverviewSelect); $('#overview').bind('plotunselected', onOverviewUnselect); ... |
block.div.style.left = (l != null) ? l + 'px' : ''; block.div.style.bottom = (b != null) ? b + 'px' : ''; block.div.style.right = (r != null) ? r + 'px' : ''; block.div.style.top = (t != null) ? t + 'px' : ''; | block.div.style.left = (l !== null) ? l + 'px' : ''; block.div.style.bottom = (b !== null) ? b + 'px' : ''; block.div.style.right = (r !== null) ? r + 'px' : ''; block.div.style.top = (t !== null) ? t + 'px' : ''; | updateBlocks: function() { if (!this.blocks) { this.createBlocks(); } if (this.size && this.relativePosition) { var position = this.positionBlocks[this.relativePosition]; for (var i = 0; i < position.blocks.length; i++) { var positionBlock = posit... |
console.log(entity); | var updateBreadcrumbs = function (that, entity) { var breadcrumbs, key, isKey; // Cache. breadcrumbs = that.locate("breadcrumbs"); console.log(entity); key = entity.entityType + ':' + entity.id; // Add breadcrumb. if (breadcrumbs.find('span').length >... | |
$('#experimentList').render(result, $t.experimentList); | function updateRestartContinueButtons() { for(var k in selectedExperiments) { $('#experimentList input.continue, #experimentList input.restart').removeAttr('disabled'); return; } $('#experimentList input.continue, #experimentList input.restart').attr('disabled', 'disabled'); } $('#experimentList').render(result, $tpl.... | function updateBrowseExperiments() { taskmanCall('searchexp', { search: $('#experimentSearch').val(), fromDate: $('#dateFrom').val(), toDate: $('#dateTo').val(), pendingOnly: $('#incompleteOnly').is(':checked') ? 1 : 0 }, function (result) { $('#experimentList').render(result, $... |
selectedExperiments.length = 0; | selectedExperiments = {}; } updateRestartContinueButtons(); }); function startSelectedTasks(mode) { var accessions = []; for(var accession in selectedExperiments) accessions.push(accession); if(accessions.length == 0) return; if(window.confirm('Do you really want to ' + mode.toLowerCase() + ' ' + accessions.length +... | function updateBrowseExperiments() { taskmanCall('searchexp', { search: $('#experimentSearch').val(), fromDate: $('#dateFrom').val(), toDate: $('#dateTo').val(), pendingOnly: $('#incompleteOnly').is(':checked') ? 1 : 0 }, function (result) { $('#experimentList').render(result, $... |
this.rows = this.instance.menu.find(".ui-multiselect-checkboxes li:not(.ui-multiselect-optgroup-label)"); | updateCache: function(){ this.cache = this.element.children().map(function(){ var self = $(this); // account for optgroups if( this.tagName.toLowerCase() === "optgroup" ){ self = self.children(); } // see _create() in jquery.multiselect.js if( !self.val().length ){ return null; ... | |
var optiontags = this.element.children(), isOptgroup = optiontags[0].tagName === "OPTGROUP" || false; | var optiontags = this.element.children(); | updateCache: function(){ var optiontags = this.element.children(), isOptgroup = optiontags[0].tagName === "OPTGROUP" || false; this.cache = optiontags.map(function(){ var self = $(this); // account for optgroups if( isOptgroup ){ self = self.children(); } // see _create() in jquer... |
if( isOptgroup ){ | if( this.tagName === "OPTGROUP" ){ | updateCache: function(){ var optiontags = this.element.children(), isOptgroup = optiontags[0].tagName === "OPTGROUP" || false; this.cache = optiontags.map(function(){ var self = $(this); // account for optgroups if( isOptgroup ){ self = self.children(); } // see _create() in jquer... |
if (!self.val().length) return null; | updateCache: function(){ var optiontags = this.element.children(), isOptgroup = optiontags[0].tagName === "OPTGROUP" || false; this.cache = optiontags.map(function(){ var self = $(this), nodes = self; // account for optgroups if( isOptgroup ){ nodes = self.children(); } return nod... | |
updateChangedDataOnImport : function(records) { | updateChangedDataOnImport : function(records, currentOp) { | updateChangedDataOnImport : function(records) { this.disableSorting(); for (var i = 0; i < records.length; i++) { this.changedData[records[i].get("id")] = { op : "added", recData : records[i].data, pageStart : this.getPageStart() }; ... |
for (var i = 0; i < records.length; i++) { this.changedData[records[i].get("id")] = { op : "added", recData : records[i].data, pageStart : this.getPageStart() }; | var recLength=records.length; if(currentOp == "added") { for (var i = 0; i < recLength; i++) { var record=records[i]; this.changedData[record.get("id")] = { op : currentOp, recData : record.data, pageStart : 0 }; } } else if (currentOp == "deleted") { for(var i=0;i<recLength; i++) { var record=records[i]; var id = reco... | updateChangedDataOnImport : function(records) { this.disableSorting(); for (var i = 0; i < records.length; i++) { this.changedData[records[i].get("id")] = { op : "added", recData : records[i].data, pageStart : this.getPageStart() }; ... |
this.store.resumeEvents(); | updateChangedDataOnImport : function(records, currentOp) { this.disableSorting(); var recLength=records.length; if(currentOp == "added") { for (var i = 0; i < recLength; i++) { var record=records[i]; this.changedData[record.get("id")] = { ... | |
selected=-1; | setSelected(-1); | function updateChoices(showAll){ selected=-1; if (showAll) { localThrottler.throttle(getMenuId(), throttleDelay, actualUpdateChoicesShowAll); } else { localThrottler.throttle(getMenuId(), throttleDelay, actualUpdateChoices); } } |
if (!app) app = "client"; $.getJSON(url, function(json) { var tableTR = ''; tableTR = ''; | function updateClientService(url, deactive, app) { if (!app) app = "client"; $.getJSON(url, function(json) { var tableTR = ''; tableTR = ''; /** * build html */ jQuery.each(json, function(){ jQuery.each(this.client, function(){ str_client = thi... | |
jQuery.each(json, function(){ jQuery.each(this.client, function(){ str_client = this.name; str_client_id = this.id; }); | function updateClientService(url, deactive, app) { if (!app) app = "client"; $.getJSON(url, function(json) { var tableTR = ''; tableTR = ''; /** * build html */ jQuery.each(json, function(){ jQuery.each(this.client, function(){ str_client = thi... | |
str_professional = ''; str_professional_id = ''; if (this.professional){ jQuery.each(this.professional, function(){ str_professional += ' '+ this.name + ''; str_professional_id = this.id; }); } | function updateClientService(url, deactive, app) { if (!app) app = "client"; $.getJSON(url, function(json) { var tableTR = ''; tableTR = ''; /** * build html */ jQuery.each(json, function(){ jQuery.each(this.client, function(){ str_client = thi... | |
tableTR += '<tr>'; tableTR += '<td class="title">'+ str_client + '<br />' + str_professional +'<br /> Inscrito em: ' + this.dt; tableTR += '</td>'; tableTR += '<td>'; tableTR += '</td>'; tableTR += '</tr>'; }); | function updateClientService(url, deactive, app) { if (!app) app = "client"; $.getJSON(url, function(json) { var tableTR = ''; tableTR = ''; /** * build html */ jQuery.each(json, function(){ jQuery.each(this.client, function(){ str_client = thi... | |
buildTableList(tableTR, 'div#list'); buildPaginator(app, json['paginator'], json['util'], 'div#list'); | function updateClientService(url, deactive, app) { if (!app) app = "client"; $.getJSON(url, function(json) { var tableTR = ''; tableTR = ''; /** * build html */ jQuery.each(json, function(){ jQuery.each(this.client, function(){ str_client = thi... | |
$("ul.paginator a").unbind().click(function(){ updateClientService($(this).attr('href'), deactive, app); return false; }); }); | function updateClientService(url, deactive, app) { if (!app) app = "client"; $.getJSON(url, function(json) { var tableTR = ''; tableTR = ''; /** * build html */ jQuery.each(json, function(){ jQuery.each(this.client, function(){ str_client = thi... | |
category: "Composed", | name: module.name, category: this.composedCategory, | updateComposedModuleList: function() { // Remove all previous module with the ComposedModule class var el = YAHOO.util.Dom.get("module-category-Composed"); if( el ) { // Purge element (remove listeners on el and childNodes recursively) YAHOO.util.Event.purgeElement(el, true); el.innerHTML = ""; } ... |
this.modulesByName[module.name] = m; | updateComposedModuleList: function() { // Remove all previous module with the ComposedModule class var el = YAHOO.util.Dom.get("module-category-Composed"); if( el ) { // Purge element (remove listeners on el and childNodes recursively) YAHOO.util.Event.purgeElement(el, true); el.innerHTML = ""; } ... | |
$(this).before($('<option/>').addClass('option').attr('value', e).text(dict ? dict[e] : e)); | $(this).before(opt); | function updateFilter(id, list, dict, stvar) { var filter = $(id); $.each(list, function (i, e) { var found = false; $('option.option', filter).each(function () { var v = $(this).attr('value'); if(e == v) { ... |
if(v == currentState[stvar]) $(this).attr('selected', 'selected'); else $(this).removeAttr('selected'); | function updateFilter(id, list, dict, stvar) { var filter = $(id); $.each(list, function (i, e) { var found = false; $('option.option', filter).each(function () { var v = $(this).attr('value'); if(e == v) { ... | |
$(filter).append($('<option/>').addClass('option').attr('value', e).text(dict ? dict[e] : e)); | $(filter).append(opt); | function updateFilter(id, list, dict, stvar) { var filter = $(id); $.each(list, function (i, e) { var found = false; $('option.option', filter).each(function () { var v = $(this).attr('value'); if(e == v) { ... |
if (evt.object.centerpoint_form) { center = evt.object.getCenter().transform( evt.object.projection, new OpenLayers.Projection('EPSG:4326')).toShortString(); evt.object.centerpoint_form.val(center); | if (evt.object.centerpoint_form) { center = evt.object.getCenter().transform( evt.object.projection, new OpenLayers.Projection('EPSG:4326')).toShortString(); evt.object.centerpoint_form.val(center); } if (evt.object.zoom_form) { zoom = evt.object.getZoom(); evt.object.zoom_form.val(zoom); } | function updateForm(evt) { if (evt.object.centerpoint_form) { center = evt.object.getCenter().transform( evt.object.projection, new OpenLayers.Projection('EPSG:4326')).toShortString(); evt.object.centerpoint_form.val(center); } if (evt.object.zoom_form) { zoom = evt.object.getZ... |
if (evt.object.zoom_form) { zoom = evt.object.getZoom(); evt.object.zoom_form.val(zoom); } } | function updateForm(evt) { if (evt.object.centerpoint_form) { center = evt.object.getCenter().transform( evt.object.projection, new OpenLayers.Projection('EPSG:4326')).toShortString(); evt.object.centerpoint_form.val(center); } if (evt.object.zoom_form) { zoom = evt.object.getZ... | |
tests.push({"test":test[0], "branch":test[1], "machine":test[2]}); | tests.push([parseInt(test[0]), parseInt(test[1]), parseInt(test[2])]); | function updateLinks() { var url = document.location.toString(); var loc = ''; if (url.indexOf("#") == -1) { url += "#"; } else { url = url.substring(0, url.indexOf("#")) + "#"; } if (gGraphType == GRAPH_TYPE_SERIES) { loc += "type=series&"; } if (gActiveTests.length > 0) { ... |
var done = false; alert("Updating load details for " + json.accession); if (json.failedLoad = "true") { | if (json.failedLoad == "true") { | var updateLoadDetails = function(json) { // this is the doOnSuccess method for AJAX responses for LoadDetails var done = false; alert("Updating load details for " + json.accession); if (json.failedLoad = "true") { // load failed, write appropriate element done = true; writeFailedLoadRow... |
done = true; | var updateLoadDetails = function(json) { // this is the doOnSuccess method for AJAX responses for LoadDetails var done = false; alert("Updating load details for " + json.accession); if (json.failedLoad = "true") { // load failed, write appropriate element done = true; writeFailedLoadRow... | |
if (done) { | if (netcdfFinished && analyticsFinished && indexFinished) { | var updateLoadDetails = function(json) { // this is the doOnSuccess method for AJAX responses for LoadDetails var done = false; alert("Updating load details for " + json.accession); if (json.failedLoad = "true") { // load failed, write appropriate element done = true; writeFailedLoadRow... |
var url = result.experiments[i].url; | var url = result.arraydesigns[i].url; | function updateLoadList() { adminCall('loadlist', {}, function (result) { renderTpl('loadListExp', result); renderTpl('loadListAD', result); $('#loadListExp input').each(function (i, e) { $(this).click(function () { var url = result.experiments[i].url; if... |
var module = this.pipes[i]; this.pipesByName[module.name] = module; if(!filter || filter === "" || module.name.match(new RegExp(filter,"i")) ) { list.appendChild( WireIt.cn('li',null,{cursor: 'pointer'},module.name) ); | var pipe = this.pipes[i]; if(!filter || filter === "" || pipe.name.match(new RegExp(filter,"i")) ) { list.appendChild( WireIt.cn('li',null,{cursor: 'pointer'},pipe.name) ); | updateLoadPanelList: function(filter) { var list = WireIt.cn("ul"); if(lang.isArray(this.pipes)) { for(var i = 0 ; i < this.pipes.length ; i++) { var module = this.pipes[i]; this.pipesByName[module.name] = module; if(!filter || filter === "" || module.name.match(new RegEx... |
$time.queue = null; | function updateOperLog() { clearTimeout($time.queue); adminCall('operlog', { num: $options.logNumItems }, function (result) { renderTpl('operLog', result); $time.queue = setTimeout(function () { updateOperLog(); }, $options.queueRefreshRate); });} | |
overviewData.push(plot); | overviewData.push(overview); | function updatePlot() { var plotData = []; var overviewData = []; var plotOptions, overviewOptions; var minV, maxV, marginV, minT, maxT; var count = 0; $.each(allSeries, function(index, series) { if ($.isEmptyObject(series)) { // purposely delet... |
$plot.css({ cursor: 'pointer' }); | function updatePlot(series, $plot) { var minV, maxV, marginV, minT, maxT; series.exploded = false; series.visible = true; var plotData = parseSeries(series, 0, 3, 1); minV = series.minV; maxV = series.maxV; marginV = 0.1 * (maxV - minV); minT = series.m... | |
$.post('reorderField', args) | $.post('reorderField', args, function() { $("img.ajax-loader").css('visibility', 'hidden')} ) | updatePositionOnServer: function(i, t) { var args = { item_id: i, target_id: t }; $.post('reorderField', args) }, |
$('#taskList').render(result, $t.taskList); | $('#taskList').render(result, $tpl.taskList); for(var i in result.tasks) { (function (task) { $('#taskList .cancelButton' + task.id).click(function () { if(confirm('Do you really want to cancel task ' + task.type + ' ' + task.accession + '?')) { taskmanCall('cancel', { id: task.id }, function () { updateQueue(); }); }... | function updateQueue() { taskmanCall('tasklist', {}, function (result) { $('#taskList').render(result, $t.taskList); });} |
adminCall('cancel', { id: task.id }, function () { updateQueue(); }); | adminCall('cancel', { id: task.id }, updateQueue); | function updateQueue() { clearTimeout($time.queue); $time.queue = null; adminCall('tasklist', { p: currentState['que-p'] || 0, n: $options.queuePageSize }, function (result) { renderTpl('taskList', result); $('#numPending').text(result.numPending); $('#numWorking').text(re... |
adminCall('cancelall', {}, function () { updateQueue(); }); | adminCall('cancelall', {}, updateQueue); | function updateQueue() { clearTimeout($time.queue); $time.queue = null; adminCall('tasklist', { p: currentState['que-p'] || 0, n: $options.queuePageSize }, function (result) { renderTpl('taskList', result); $('#numPending').text(result.numPending); $('#numWorking').text(re... |
$time.queue = setTimeout(function () { updateQueue(); }, $options.queueRefreshRate); | $time.queue = setTimeout(updateQueue, $options.queueRefreshRate); | function updateQueue() { clearTimeout($time.queue); $time.queue = null; adminCall('tasklist', { p: currentState['que-p'] || 0, n: $options.queuePageSize }, function (result) { renderTpl('taskList', result); $('#numPending').text(result.numPending); $('#numWorking').text(re... |
adminCall('tasklist', {}, function (result) { | adminCall('tasklist', { p: currentState['que-p'] || 0, n: $options.queuePageSize }, function (result) { | function updateQueue() { clearTimeout($time.queue); adminCall('tasklist', {}, function (result) { renderTpl('taskList', result); for(var i in result.tasks) { (function (task) { $('#taskList .cancelButton' + task.id).click(function () { if(confirm('Do you ... |
$('#numPending').text(result.numPending); $('#numWorking').text(result.numWorking); if(result.page != currentState['que-p']) { currentState['que-p'] = result.page; storeState(); } if(result.numTotal > $options.queuePageSize) $('#taskListPages').pagination(result.numTotal, { current_page: result.page, num_edge_entries... | function updateQueue() { clearTimeout($time.queue); adminCall('tasklist', {}, function (result) { renderTpl('taskList', result); for(var i in result.tasks) { (function (task) { $('#taskList .cancelButton' + task.id).click(function () { if(confirm('Do you ... | |
.appendTo(map).fadeIn(function(){$(this).delay(2000).fadeOut(2000, function(){$(this).remove()});}); | .appendTo(map).fadeIn(function(){$(this).delay(2000).fadeOut(2000, function(){$(this).remove();});}); | updateRaw: function (raw) { var visitors = raw[1], ts = raw[0]; var map = $("#visitors-map"); function formatTimeFromEpoche(microsecs) { var epoch = Date.parse("1/1/2001"); var d = epoch.add({seconds: microsecs/1000000}); return d.toString("HH:mm:ss") + " GMT+0"; } ... |
a.push(formatTimeFromEpoche(visitor._uid));a.push("</span>:") | a.push(formatTimeFromEpoche(visitor._uid));a.push("</span>:"); | updateRaw: function (raw) { var visitors = raw[1], ts = raw[0]; var map = $("#visitors-map"); function formatTimeFromEpoche(microsecs) { var epoch = Date.parse("1/1/2001"); var d = epoch.add({seconds: microsecs/1000000}); return d.toString("HH:mm:ss") + " GMT+0"; } ... |
optionsForRows: [3, 5], | optionsForRows: [10], rowsPerPage: 10, | updateSegmentedList: function (elem, header, n, callback) { function makeSegmentedList() { var ret = [], i, j, a; ret.push("<table class='segmented-list'><thead><tr>"); for(i = 0; i < header.length; i++) { ret.push("<th>"); ret.push(header[i]);ret.push("</th>"); } ... |
var h = elem.find("table").height(); elem.parent(".window").height(h + 60); sameHeight(); | updateSegmentedList: function (elem, header, n, callback) { function makeSegmentedList() { var ret = [], i, j, a; ret.push("<table class='segmented-list'><thead><tr>"); for(i = 0; i < header.length; i++) { ret.push("<th>"); ret.push(header[i]);ret.push("</th>"); } ... | |
if(segments && segments.length > 0) | if(segments) | function updateSegments(segments) { if(segments && segments.length > 0) { var pages = segments.pages, len = pages.length, p, a; page.updateSegmentedList(pages_list_by_url, ["#", "Url", "Hits"], len, function(i){ p = pages[i]; a = []; a.push(i +... |
a = []; a.push(i + 1);a.push(p.name);a.push(p.hits); | a = []; a.push(i + 1);a.push("<strong>"+p.name+"</strong>");a.push(p.hits); | function updateSegments(segments) { if(segments && segments.length > 0) { var pages = segments.pages, len = pages.length, p, a; page.updateSegmentedList(pages_list_by_url, ["#", "Url", "Hits"], len, function(i){ p = pages[i]; a = []; a.push(i +... |
return a; }); | return a; }); } else { pages_list_by_url.html("<p>No data available.</p>"); } | function updateSegments(segments) { if(segments && segments.length > 0) { var pages = segments.pages, len = pages.length, p, a; page.updateSegmentedList(pages_list_by_url, ["#", "Url", "Hits"], len, function(i){ p = pages[i]; a = []; a.push(i +... |
else { pages_list_by_url.html("<p>There is no any data yet. Please <a href=\"#\" class=\"account-link\">install</a> javascript code so you can start collecting your data.</p>"); } | function updateSegments(segments) { if(segments && segments.length > 0) { var pages = segments.pages, len = pages.length, p, a; page.updateSegmentedList(pages_list_by_url, ["#", "Url", "Hits"], len, function(i){ p = pages[i]; a = []; a.push(i +... | |
if(segments) | if(segments && segments.length > 0) | function updateSegments(segments) { if(segments) { var pages = segments.pages, len = pages.length, p, a; page.updateSegmentedList(pages_list_by_url, ["#", "Url", "Hits"], len, function(i){ p = pages[i]; a = []; a.push(i + 1);a.push(p.name);a.pu... |
pages_list_by_url.html("There is no any data yet. Please <a href=\"#\" class=\"account-link\">install</a> javascript code so you can track your data."); | pages_list_by_url.html("<p>There is no any data yet. Please <a href=\"#\" class=\"account-link\">install</a> javascript code so you can start collecting your data.</p>"); | function updateSegments(segments) { if(segments) { var pages = segments.pages, len = pages.length, p, a; page.updateSegmentedList(pages_list_by_url, ["#", "Url", "Hits"], len, function(i){ p = pages[i]; a = []; a.push(i + 1);a.push(p.name);a.pu... |
if(segments) | if(segments && segments.length > 0) | function updateSegments(segments) { if(segments) { var countries = segments.countries, len = countries.length; page.updateSegmentedList(visitors_list_by_country, ["#", "Country", "Visits", "New Visitor", "%New"], len, function(i){ var row = []; if(i < len) ... |
visitors_list_by_country.html("There is no any data yet. Please <a href=\"#\" class=\"account-link\">install</a> javascript code so you can track your data."); | visitors_list_by_country.html("<p>There is no any data yet. Please <a href=\"#\" class=\"account-link\">install</a> javascript code so you can start collecting your data.</p>"); | function updateSegments(segments) { if(segments) { var countries = segments.countries, len = countries.length; page.updateSegmentedList(visitors_list_by_country, ["#", "Country", "Visits", "New Visitor", "%New"], len, function(i){ var row = []; if(i < len) ... |
if(segments && segments.length > 0) | if(segments) | function updateSegments(segments) { if(segments && segments.length > 0) { var referrers = segments.referrers, len = referrers.length, a, referrer; page.updateSegmentedList(referrers_list_by_ref, ["#", "Referrer", "Visits", "New Visits", "%New"], len, function(i){ a = [... |
page.updateSegmentedList(referrers_list_by_ref, ["#", "Referrer", "Visits", "New Visits", "%New"], len, function(i){ a = []; referrer = referrers[i]; a.push(i + 1); a.push(referrer.name); a.push(referrer.visits); a.push(referrer.new_visits);a.push(referrer.percent); return a; | if(referrers && len > 0) { page.updateSegmentedList(referrers_list_by_ref, ["#", "Referrer", "Visits", "New Visits", "%New"], len, function(i){ a = []; referrer = referrers[i]; a.push(i + 1); a.push("<strong>"+referrer.name+"</strong>"); a.push(referrer.visits); a.push(referrer.new_visits);a.push(referrer.percent); ret... | function updateSegments(segments) { if(segments && segments.length > 0) { var referrers = segments.referrers, len = referrers.length, a, referrer; page.updateSegmentedList(referrers_list_by_ref, ["#", "Referrer", "Visits", "New Visits", "%New"], len, function(i){ a = [... |
} else { referrers_list_by_ref.html("<p>There is no any data yet. Please <a href=\"#\" class=\"account-link\">install</a> javascript code so you can start collecting your data.</p>"); } | } else { referrers_list_by_ref.html("<p>No data available.</p>"); } } | function updateSegments(segments) { if(segments && segments.length > 0) { var referrers = segments.referrers, len = referrers.length, a, referrer; page.updateSegmentedList(referrers_list_by_ref, ["#", "Referrer", "Visits", "New Visits", "%New"], len, function(i){ a = [... |
if(segments) | if(segments && segments.length > 0) | function updateSegments(segments) { if(segments) { var referrers = segments.referrers, len = referrers.length, a, referrer; page.updateSegmentedList(referrers_list_by_ref, ["#", "Referrer", "Visits", "New Visits", "%New"], len, function(i){ a = []; referrer = re... |
referrers_list_by_ref.html("There is no any data yet. Please <a href=\"#\" class=\"account-link\">install</a> javascript code so you can track your data."); | referrers_list_by_ref.html("<p>There is no any data yet. Please <a href=\"#\" class=\"account-link\">install</a> javascript code so you can start collecting your data.</p>"); | function updateSegments(segments) { if(segments) { var referrers = segments.referrers, len = referrers.length, a, referrer; page.updateSegmentedList(referrers_list_by_ref, ["#", "Referrer", "Visits", "New Visits", "%New"], len, function(i){ a = []; referrer = re... |
if(segments && segments.length > 0) | if(segments) | function updateSegments(segments) { if(segments && segments.length > 0) { var countries = segments.countries, len = countries.length; page.updateSegmentedList(visitors_list_by_country, ["#", "Country", "Visits", "New Visitor", "%New"], len, function(i){ var row = []; ... |
page.updateSegmentedList(visitors_list_by_country, ["#", "Country", "Visits", "New Visitor", "%New"], len, function(i){ var row = []; | if(countries && len > 0) { page.updateSegmentedList(visitors_list_by_country, ["#", "Country", "Visits", "New Visitor", "%New"], len, function(i){ var row = []; | function updateSegments(segments) { if(segments && segments.length > 0) { var countries = segments.countries, len = countries.length; page.updateSegmentedList(visitors_list_by_country, ["#", "Country", "Visits", "New Visitor", "%New"], len, function(i){ var row = []; ... |
if(i < len) { var country = countries[i]; row.push(i+1);row.push(lookupCountry(country.name));row.push(country.visits); row.push(country.new_visits);row.push(country.percent); } | if(i < len) { var country = countries[i]; row.push(i+1);row.push("<strong>" + lookupCountry(country.name) + "</strong>");row.push(country.visits); row.push(country.new_visits);row.push(country.percent); } | function updateSegments(segments) { if(segments && segments.length > 0) { var countries = segments.countries, len = countries.length; page.updateSegmentedList(visitors_list_by_country, ["#", "Country", "Visits", "New Visitor", "%New"], len, function(i){ var row = []; ... |
return row; }); } else { visitors_list_by_country.html("<p>There is no any data yet. Please <a href=\"#\" class=\"account-link\">install</a> javascript code so you can start collecting your data.</p>"); } | return row; }); } else { visitors_list_by_country.html("<p>No data available.</p>"); } } | function updateSegments(segments) { if(segments && segments.length > 0) { var countries = segments.countries, len = countries.length; page.updateSegmentedList(visitors_list_by_country, ["#", "Country", "Visits", "New Visitor", "%New"], len, function(i){ var row = []; ... |
function updateSelected(quick,increase){ | function updateSelected(){ | function updateSelected(quick,increase){ var $input = $options.prev('a.multiSelect').find('input'), display = '', $inputs = $options.find('input:checkbox').not('input.ui-multiselect-all'), $checked = $inputs.filter('input:checked'), numChecked = $checked.length; console.log('updated selec... |
console.log('updated selected called'); | function updateSelected(quick,increase){ var $input = $options.prev('a.multiSelect').find('input'), display = '', $inputs = $options.find('input:checkbox').not('input.ui-multiselect-all'), $checked = $inputs.filter('input:checked'), numChecked = $checked.length; console.log('updated selec... | |
$inputs = $options.find('input:checkbox').not('.ui-multiselect-all'), $checked = $inputs.filter(':checked'), | $inputs = $options.find('input:checkbox').not('input.ui-multiselect-all'), $checked = $inputs.filter('input:checked'), | function updateSelected(){ var display = '', $inputs = $options.find('input:checkbox').not('.ui-multiselect-all'), $checked = $inputs.filter(':checked'), $input = $options.prev('a.multiSelect').find('input'), numChecked = $checked.length; if(numChecked === 0){ $input.val( o.noneSelec... |
value = $.isFunction(o.selectedText) ? o.selectedText.call(this, numChecked, $inputs.length, $checked.get()) : o.selectedText.replace('#', numChecked).replace('#', $inputs.length); }; | if($.isFunction(o.selectedText)){ value = o.selectedText.call(this, numChecked, $inputs.length, $checked.get()); } else if( /\d/.test(o.selectedList) && o.selectedList > 0 && numChecked <= o.selectedList){ value = $checked.map(function(){ return this.title; }).get().join(', '); } else { value = o.selectedText.replace('... | var updateSelected = function(){ var $inputs = $labels.find('input'), $checked = $inputs.filter(':checked'), value = '', numChecked = $checked.length; if(numChecked === 0){ value = o.noneSelectedText; } else { value = $.isFunction(o.selectedText) ? o.selectedText.call(this, numChecked, $in... |
var $input = $select.find('input'), $inputs = $labels.find('input'), $checked = $inputs.filter(':checked'), value = '', numChecked = $checked.length; | var $inputs = $labels.find('input'), $checked = $inputs.filter(':checked'), value = '', numChecked = $checked.length; | function updateSelected(){ var $input = $select.find('input'), $inputs = $labels.find('input'), $checked = $inputs.filter(':checked'), value = '', numChecked = $checked.length; if(numChecked === 0){ value = o.noneSelected; } else { // if selectedList is enabled, and the numbe... |
$input.val( value ).attr('title', value); | $select.find('input').val(value).attr('title', value); return value; | function updateSelected(){ var $input = $select.find('input'), $inputs = $labels.find('input'), $checked = $inputs.filter(':checked'), value = '', numChecked = $checked.length; if(numChecked === 0){ value = o.noneSelected; } else { // if selectedList is enabled, and the numbe... |
var $input = $options.prev('a.ui-multiselect').find('input'), | var $input = $select.find("input"), | function updateSelected(){ var $input = $options.prev('a.ui-multiselect').find('input'), $inputs = $labels.find('input'), $checked = $inputs.filter('input:checked'), value = '', numChecked = $checked.length; if(numChecked === 0){ $input.val( o.noneSelected ); } else { // list... |
$checked = $inputs.filter('input:checked'), | $checked = $inputs.filter(":checked"), | function updateSelected(){ var $input = $options.prev('a.ui-multiselect').find('input'), $inputs = $labels.find('input'), $checked = $inputs.filter('input:checked'), value = '', numChecked = $checked.length; if(numChecked === 0){ $input.val( o.noneSelected ); } else { // list... |
value = o.selectedText.replace('%', numChecked); | value = o.selectedText.replace('#', numChecked); | function updateSelected(){ var $input = $options.prev('a.ui-multiselect').find('input'), $inputs = $labels.find('input'), $checked = $inputs.filter('input:checked'), value = '', numChecked = $checked.length; if(numChecked === 0){ $input.val( o.noneSelected ); } else { // list... |
var $input = $options.prev('a.multiSelect').find('input'), display = '', $inputs = $options.find('input:checkbox').not('input.ui-multiselect-all'), | var $input = $options.prev('a.ui-multiselect').find('input'), $inputs = $labels.find('input'), | function updateSelected(){ var $input = $options.prev('a.multiSelect').find('input'), display = '', $inputs = $options.find('input:checkbox').not('input.ui-multiselect-all'), $checked = $inputs.filter('input:checked'), numChecked = $checked.length; if(numChecked === 0){ $input.val( o... |
if(o.oneOrMoreSelected === '*'){ | if(o.selectedList){ | function updateSelected(){ var $input = $options.prev('a.multiSelect').find('input'), display = '', $inputs = $options.find('input:checkbox').not('input.ui-multiselect-all'), $checked = $inputs.filter('input:checked'), numChecked = $checked.length; if(numChecked === 0){ $input.val( o... |
if(text !== o.selectAllText) display += text + ', '; | list = (list.length) ? (list += ', ' + text) : text; | function updateSelected(){ var $input = $options.prev('a.multiSelect').find('input'), display = '', $inputs = $options.find('input:checkbox').not('input.ui-multiselect-all'), $checked = $inputs.filter('input:checked'), numChecked = $checked.length; if(numChecked === 0){ $input.val( o... |
display = display.substr(0, display.length - 2); $input.val( display ); | $input.val( list ); | function updateSelected(){ var $input = $options.prev('a.multiSelect').find('input'), display = '', $inputs = $options.find('input:checkbox').not('input.ui-multiselect-all'), $checked = $inputs.filter('input:checked'), numChecked = $checked.length; if(numChecked === 0){ $input.val( o... |
$input.val( o.oneOrMoreSelected.replace('%', numChecked) ); | $input.val( o.selectedText.replace('%', numChecked) ); | function updateSelected(){ var $input = $options.prev('a.multiSelect').find('input'), display = '', $inputs = $options.find('input:checkbox').not('input.ui-multiselect-all'), $checked = $inputs.filter('input:checked'), numChecked = $checked.length; if(numChecked === 0){ $input.val( o... |
list = '', | value = '', | function updateSelected(){ var $input = $options.prev('a.ui-multiselect').find('input'), $inputs = $labels.find('input'), $checked = $inputs.filter('input:checked'), list = '', numChecked = $checked.length; if(numChecked === 0){ $input.val( o.noneSelected ); } else { // list ... |
list = (list.length) ? (list += ', ' + text) : text; | value = (value.length) ? (value += ', ' + text) : text; | function updateSelected(){ var $input = $options.prev('a.ui-multiselect').find('input'), $inputs = $labels.find('input'), $checked = $inputs.filter('input:checked'), list = '', numChecked = $checked.length; if(numChecked === 0){ $input.val( o.noneSelected ); } else { // list ... |
$input.val( list ); | function updateSelected(){ var $input = $options.prev('a.ui-multiselect').find('input'), $inputs = $labels.find('input'), $checked = $inputs.filter('input:checked'), list = '', numChecked = $checked.length; if(numChecked === 0){ $input.val( o.noneSelected ); } else { // list ... | |
$input.val( o.selectedText.replace('%', numChecked) ); | value = o.selectedText.replace('%', numChecked); | function updateSelected(){ var $input = $options.prev('a.ui-multiselect').find('input'), $inputs = $labels.find('input'), $checked = $inputs.filter('input:checked'), list = '', numChecked = $checked.length; if(numChecked === 0){ $input.val( o.noneSelected ); } else { // list ... |
$input.val( value ).attr("title", value); | function updateSelected(){ var $input = $options.prev('a.ui-multiselect').find('input'), $inputs = $labels.find('input'), $checked = $inputs.filter('input:checked'), list = '', numChecked = $checked.length; if(numChecked === 0){ $input.val( o.noneSelected ); } else { // list ... | |
that.locate("moduleSelections").html(modulesSelectedString); | that.locate("moduleSelectionsDesc").html(modulesSelectedString); | var updateSelectedModules = function (that) { var selections = that.model.moduleSelections; var modulesSelectedString = "Modules selected: none"; if (selections.length > 0) { modulesSelectedString = getNamesString(selections); } that.locate("moduleSelections").html(modu... |
tableTR += '<a style="padding-bottom: 5px; text-decoration:none" href="/service/' + this.id + '/group/" class="group" title="Listar grupos deste serviço"> </a>'; tableTR += '<a style="padding-bottom: 5px; text-decoration:none" href="/service/' + this.id + '/group/add/" class="group_add" tit... | if(!json['util']['is_student']) { if(this.have_client_to_list) tableTR += '<a style="padding-bottom: 5px; text-decoration:none" href="/service/' + this.id + '/group/" class="group" title="Listar grupos deste serviço"> </a>'; if(this.can_add_group) tableTR += '<a style="padding-bottom: 5px; ... | function updateService(url, deactive, app) { if (!app) app = "service"; $.getJSON(url, function(json) { var tableTR = ''; /** * build html */ jQuery.each(json, function(){ if(this.id) { tableTR += '<tr id="' + this.id + '"><td class="title">'; ... |
if (this.map.opts.popupsOutside == true) { | if (this.map.opts.popupsOutside === true) { | updateSize: function() { if (this.map.opts.popupsOutside == true) { var preparedHTML = "<div class='" + this.contentDisplayClass+ "'>" + this.contentDiv.innerHTML + "</div>"; var containerElement = document.body; var realSize = OpenLayers.Util.ge... |
var validationPanel = Ext.getCmp('validationsPanel'); if (validationPanel) validationPanel.refresh(); | if (!Ext.getCmp('validationsWindow')) { var validationPanel = Ext.getCmp('validationsPanel'); if (validationPanel) validationPanel.refresh(); } | updateStatus: function (statusId, newStatus, newTinyStatus, unlock) { //check for public tab : if status is for current viewved page, it must be reloaded if (Automne.tabPanels) { var publicPanel = Automne.tabPanels.getItem('public'); if (publicPanel) { var publicTab = Automne.tabPanels.getTabEl(publicPanel); ... |
p: currentState['tlog-p'] && currentState['tlog-p'] != lastLogPages - 1 ? currentState['tlog-p'] : -1, | p: askPage, | function updateTaskLog() { clearTimeout($time.tasklog); $time.tasklog = null; adminCall('tasklog', { p: currentState['tlog-p'] && currentState['tlog-p'] != lastLogPages - 1 ? currentState['tlog-p'] : -1, n: $options.tasklogPageSize }, function (result) { if(currentState['tlog-p'] != res... |
$('#taskLog .newitem').css('backgroundColor', 'rgb(255,255,0)') .animate({backgroundColor:'rgb(250,250,250)'}, Math.min($options.queueRefreshRate / 2, 500)); | function updateTaskLog() { clearTimeout($time.tasklog); $time.tasklog = null; adminCall('tasklog', { p: currentState['tlog-p'] && currentState['tlog-p'] != lastLogPages - 1 ? currentState['tlog-p'] : -1, n: $options.tasklogPageSize }, function (result) { if(currentState['tlog-p'] != res... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.