rem stringlengths 0 126k | add stringlengths 0 441k | context stringlengths 15 136k |
|---|---|---|
var data = prevCell.retrieve('jxCellData'), row = data.row, index = data.index; i++; }while(!data.col.options.isEditable); if(save === false) { this.deactivate(save); | this.grid.selection.select(prevCell); | getPrevCellInRow: function(save) { save = $defined(save) ? save : true; var prevCell, prevRow, i = 0; do { prevCell = i > 0 ? prevCell.getPrevious() : this.activeCell.cell.getPrevious(); // check if cell is still in row, otherwise returns null if(prevCell == null) { prev... |
this.grid.selection.select(prevCell); | getPrevCellInRow: function(save) { save = $defined(save) ? save : true; var prevCell, prevRow, i = 0; do { prevCell = i > 0 ? prevCell.getPrevious() : this.activeCell.cell.getPrevious(); // check if cell is still in row, otherwise returns null if(prevCell == null) { prev... | |
Ext.getCmp('update-pubmed-region').show(); | Ext.getCmp('update-pubmed-region').show(true); | getPubMedForm : function(e) { var pubmedRegion = new Ext.Panel({ baseCls : 'x-plain-panel', disabledClass : 'disabled-plain', id : 'pubmed-region', width : 150, layout : 'table', layoutConfig : { columns : 2 }, defaults : { disabled : !this.editable, disabledClass : 'disabled-plain', field... |
Ext.getCmp('update-pubmed-region').hide(); | Ext.getCmp('update-pubmed-region').hide(true); | getPubMedForm : function(e) { var pubmedRegion = new Ext.Panel({ baseCls : 'x-plain-panel', disabledClass : 'disabled-plain', id : 'pubmed-region', width : 150, layout : 'table', layoutConfig : { columns : 2 }, defaults : { disabled : !this.editable, disabledClass : 'disabled-plain', field... |
html : '<a href="#" onClick="Ext.getCmp(\'ee-details-panel\').savePubMed(' + | html : '<span style="cursor:pointer" onClick="Ext.getCmp(\'ee-details-panel\').savePubMed(' + | getPubMedForm : function(e) { var pubmedRegion = new Ext.Panel({ baseCls : 'x-plain-panel', disabledClass : 'disabled-plain', id : 'pubmed-region', width : 150, layout : 'table', layoutConfig : { columns : 2 }, defaults : { disabled : !this.editable, disabledClass : 'disabled-plain', field... |
',[\'shortname\',\'name\',\'description\'])" ><img src="/Gemma/images/icons/database_save.png" title="Click to save changes" alt="Click to save changes"/></a>', | ',[\'shortname\',\'name\',\'description\'])" ><img src="/Gemma/images/icons/database_save.png" title="Click to save changes" alt="Click to save changes"/></span>', | getPubMedForm : function(e) { var pubmedRegion = new Ext.Panel({ baseCls : 'x-plain-panel', disabledClass : 'disabled-plain', id : 'pubmed-region', width : 150, layout : 'table', layoutConfig : { columns : 2 }, defaults : { disabled : !this.editable, disabledClass : 'disabled-plain', field... |
var pubmedUrl = e.primaryCitation + ' <a target="_blank" ext:qtip="Go to PubMed (in new window)"' + ' href="http: + e.pubmedId + '&query_hl=2&itool=pubmed_docsum"><img src="/Gemma/images/pubmed.gif" ealt="PubMed" /></a>  '; | var pubmedUrl = e.primaryCitation + ' <a target="_blank" ext:qtip="Go to PubMed (in new window)"' + ' href="http: e.pubmedId + '&query_hl=2&itool=pubmed_docsum"><img src="/Gemma/images/pubmed.gif" ealt="PubMed" /></a>  '; | getPubMedHtml : function(e) { var pubmedUrl = e.primaryCitation + ' <a target="_blank" ext:qtip="Go to PubMed (in new window)"' + ' href="http://www.ncbi.nlm.nih.gov/entrez/query.fcgi?db=pubmed&cmd=Retrieve&dopt=AbstractPlus&list_uids=' + e.pubmedId + '&query_hl=2&itool=pubmed_docsum"><img src="/Gem... |
pubmedUrl = pubmedUrl + '<a href="#" onClick="Ext.getCmp(\'ee-details-panel\').removePubMed()">' + | pubmedUrl = pubmedUrl + '<span style="cursor:pointer" onClick="Ext.getCmp(\'ee-details-panel\').removePubMed()">' + | getPubMedHtml : function(e) { var pubmedUrl = e.primaryCitation + ' <a target="_blank" ext:qtip="Go to PubMed (in new window)"' + ' href="http://www.ncbi.nlm.nih.gov/entrez/query.fcgi?db=pubmed&cmd=Retrieve&dopt=AbstractPlus&list_uids=' + e.pubmedId + '&query_hl=2&itool=pubmed_docsum"><img src="/Gem... |
var pubmedUrl = e.primaryCitation + ' <a target="_blank" ext:qtip="Go to PubMed (in new window)"' + ' href="http: e.pubmedId + '&query_hl=2&itool=pubmed_docsum"><img src="/Gemma/images/pubmed.gif" ealt="PubMed" /></a>  '; | var pubmedUrl = e.primaryCitation + ' <a target="_blank" ext:qtip="Go to PubMed (in new window)"' + ' href="http: + e.pubmedId + '&query_hl=2&itool=pubmed_docsum"><img src="/Gemma/images/pubmed.gif" ealt="PubMed" /></a>  '; | getPubMedHtml : function(e) { var pubmedUrl = e.primaryCitation + ' <a target="_blank" ext:qtip="Go to PubMed (in new window)"' + ' href="http://www.ncbi.nlm.nih.gov/entrez/query.fcgi?db=pubmed&cmd=Retrieve&dopt=AbstractPlus&list_uids=' + e.pubmedId + '&query_hl=2&itool=pubmed_docsum"><img src="/Gem... |
minlength: jQuery.format(' ' + $.i18n._('content minchars')) | minlength: $.format(' ' + $.i18n._('content minchars')) | getQuestionFormMessages: function(){ return { tags: { required: " " + $.i18n._('tags cannot be empty'), maxlength: " " + $.i18n._('tablimits info') }, text: { required: " " + $.i18n._('content cannot... |
minlength: jQuery.format(' ' + $.i18n._('title minchars')) | minlength: $.format(' ' + $.i18n._('title minchars')) | getQuestionFormMessages: function(){ return { tags: { required: " " + $.i18n._('tags cannot be empty'), maxlength: " " + $.i18n._('tablimits info') }, text: { required: " " + $.i18n._('content cannot... |
minlength: $.format(' ' + $.i18n._('content minchars')) | minlength: $.i18n._('content minchars').replace('{0}', 10) | getQuestionFormMessages: function(){ return { tags: { required: " " + $.i18n._('tags cannot be empty'), maxlength: " " + $.i18n._('tablimits info') }, text: { required: " " + $.i18n._('content cannot... |
minlength: $.format(' ' + $.i18n._('title minchars')) | minlength: $.i18n._('title minchars').replace('{0}', 10) | getQuestionFormMessages: function(){ return { tags: { required: " " + $.i18n._('tags cannot be empty'), maxlength: " " + $.i18n._('tablimits info') }, text: { required: " " + $.i18n._('content cannot... |
if (onSuccessFn) onSuccessFn(r.getResult().Item); | if (onSuccessFn) onSuccessFn(r.Item); | getRandomItemFromSet: function(id, onSuccessFn, onErrorFn) { this.gateway.getFromService('GetRandomItemFromSet', { Id: id || null }, function(r) { if (onSuccessFn) onSuccessFn(r.getResult().Item); }, onErrorFn || RedisClient.errorFn); }, |
if (onSuccessFn) onSuccessFn(r.getResult().Key); | if (onSuccessFn) onSuccessFn(r.Key); | getRandomKey: function(onSuccessFn, onErrorFn) { this.gateway.getFromService('GetRandomKey', { }, function(r) { if (onSuccessFn) onSuccessFn(r.getResult().Key); }, onErrorFn || RedisClient.errorFn); }, |
if (onSuccessFn) onSuccessFn(r.getResult().Items); | if (onSuccessFn) onSuccessFn(r.Items); | getRangeFromList: function(id, startingFrom, endingAt, onSuccessFn, onErrorFn) { this.gateway.getFromService('GetRangeFromList', { Id: id || null, StartingFrom: startingFrom || null, EndingAt: endingAt || null }, function(r) { if (onSuccessFn) onSuccessFn(r.getResult().Items); }, onErrorFn || RedisClient.e... |
if (onSuccessFn) onSuccessFn(r.getResult().Items); | if (onSuccessFn) onSuccessFn(r.Items); | getRangeFromSortedList: function(id, startingFrom, endingAt, onSuccessFn, onErrorFn) { this.gateway.getFromService('GetRangeFromSortedList', { Id: id || null, StartingFrom: startingFrom || null, EndingAt: endingAt || null }, function(r) { if (onSuccessFn) onSuccessFn(r.getResult().Items); }, onErrorFn || R... |
if (onSuccessFn) onSuccessFn(r.getResult().Items); | if (onSuccessFn) onSuccessFn(r.Items); | getRangeFromSortedSet: function(id, fromRank, toRank, sortDescending, onSuccessFn, onErrorFn) { this.gateway.getFromService('GetRangeFromSortedSet', { Id: id || null, FromRank: fromRank || null, ToRank: toRank || null, SortDescending: sortDescending || null }, function(r) { if (onSuccessFn) onSuccessFn(r.getRe... |
if (onSuccessFn) onSuccessFn(r.getResult().Items); | if (onSuccessFn) onSuccessFn(r.Items); | getRangeFromSortedSetByHighestScore: function(id, fromScore, toScore, skip, take, onSuccessFn, onErrorFn) { this.gateway.getFromService('GetRangeFromSortedSetByHighestScore', { Id: id || null, FromScore: fromScore || null, ToScore: toScore || null, Skip: skip || '0', Take: take || '0' }, function(r) { if (onSu... |
if (onSuccessFn) onSuccessFn(r.getResult().Items); | if (onSuccessFn) onSuccessFn(r.Items); | getRangeFromSortedSetByLowestScore: function(id, fromScore, toScore, skip, take, onSuccessFn, onErrorFn) { this.gateway.getFromService('GetRangeFromSortedSetByLowestScore', { Id: id || null, FromScore: fromScore || null, ToScore: toScore || null, Skip: skip || '0', Take: take || '0' }, function(r) { if (onSucc... |
if (onSuccessFn) onSuccessFn(RedisClient.convertItemWithScoresToMap(r.getResult().ItemsWithScores)); | if (onSuccessFn) onSuccessFn(RedisClient.convertItemWithScoresToMap(r.ItemsWithScores)); | getRangeWithScoresFromSortedSet: function(id, fromRank, toRank, onSuccessFn, onErrorFn) { this.gateway.getFromService('GetRangeWithScoresFromSortedSet', { Id: id || null, FromRank: fromRank || null, ToRank: toRank || null }, function(r) { if (onSuccessFn) onSuccessFn(RedisClient.convertItemWithScoresToMap(r.ge... |
if (onSuccessFn) onSuccessFn(RedisClient.convertItemWithScoresToMap(r.getResult().ItemsWithScores)); | if (onSuccessFn) onSuccessFn(RedisClient.convertItemWithScoresToMap(r.ItemsWithScores)); | getRangeWithScoresFromSortedSetByHighestScore: function(id, fromScore, toScore, skip, take, onSuccessFn, onErrorFn) { this.gateway.getFromService('GetRangeWithScoresFromSortedSetByHighestScore', { Id: id || null, FromScore: fromScore || null, ToScore: toScore || null, Skip: skip || '0', Take: take || '0' }, functio... |
if (onSuccessFn) onSuccessFn(RedisClient.convertItemWithScoresToMap(r.getResult().ItemsWithScores)); | if (onSuccessFn) onSuccessFn(RedisClient.convertItemWithScoresToMap(r.ItemsWithScores)); | getRangeWithScoresFromSortedSetByLowestScore: function(id, fromScore, toScore, skip, take, onSuccessFn, onErrorFn) { this.gateway.getFromService('GetRangeWithScoresFromSortedSetByLowestScore', { Id: id || null, FromScore: fromScore || null, ToScore: toScore || null, Skip: skip || '0', Take: take || '0' }, function(... |
i; | i = 0; | getRow: function(tr, record) { var data = {}, grid = this.grid, store = grid.store, row = grid.row, rhc = grid.row.useHeaders() ? this.getByName(row.options.headerColumn) : null, domInserts = [], i; this.columns.each(function(colum... |
if (this.grid.model.getPosition() === 0) { var rowWidth = this.getRowHeaderWidth(); th.setStyle("width", rowWidth); } | getRowHeader : function (list) { var th = this.getRowHeaderCell(); if (this.grid.model.getPosition() === 0) { var rowWidth = this.getRowHeaderWidth(); th.setStyle("width", rowWidth); } th.store('jxCellData', { rowHeader: true, row: this.grid.mo... | |
var text = model.get(this.options.headerField); var ht = this.options.templates.header; var el = new Element(ht.tag, { 'class' : 'jxGridCellContent', 'html' : text }).inject(th); if ($defined(ht.cssClass)) { if (Jx.type(ht.cssClass) === 'function') { el.addClass(ht.cssClass.run(text)); } else { el.addClass(ht.cssClass)... | var col = this.grid.columns.getByName(this.options.headerColumn); var el = col.getHTML(); el.inject(th); th.store('jxCellData',{ row: model.getPosition(), rowHeader: true }); | getRowHeaderCell : function () { //get and set text for element var model = this.grid.getModel(); var th = new Element('td', { 'class' : 'jxGridRowHead' }); var text = model.get(this.options.headerField); var ht = this.options.templates.header; var el = ne... |
var col = this.grid.columns.getByField(this.options.headerField); return col.getWidth(true, true); | var col = this.grid.columns.getByName(this.options.headerColumn); if (!$defined(col.getWidth())) { col.calculateWidth(true); } return col.getWidth(); | getRowHeaderWidth : function () { //this can be drawn from the column for the //header field var col = this.grid.columns.getByField(this.options.headerField); return col.getWidth(true, true); }, |
Gemma.SecurityManager.getSecurityLink = function(clazz, id, isPublic, isShared) { | Gemma.SecurityManager.getSecurityLink = function(clazz, id, isPublic, isShared, canEdit) { | Gemma.SecurityManager.getSecurityLink = function(clazz, id, isPublic, isShared) { var icon = isPublic ? '<img src="/Gemma/images/icons/lock_open2.png" ext:qtip="Public" ext:qtip="Public" alt="public"/>' : '<img src="/Gemma/images/icons/lock.png" ext:qtip="Private" ext:qtip="Private" alt="private"/>'; var sharedIc... |
var icon = isPublic ? '<img src="/Gemma/images/icons/lock_open2.png" ext:qtip="Public" ext:qtip="Public" alt="public"/>' : '<img src="/Gemma/images/icons/lock.png" ext:qtip="Private" ext:qtip="Private" alt="private"/>'; | var icon = ''; if (canEdit) { icon = isPublic ? '<img src="/Gemma/images/icons/world_edit.png" ext:qtip="Public; click to edit permissions" ext:qtip="Public" alt="public"/>' : '<img src="/Gemma/images/icons/lock_edit.png" ext:qtip="Private; click to edit permissions" ext:qtip="Private" alt="private"/>'; } else { ico... | Gemma.SecurityManager.getSecurityLink = function(clazz, id, isPublic, isShared) { var icon = isPublic ? '<img src="/Gemma/images/icons/lock_open2.png" ext:qtip="Public" ext:qtip="Public" alt="public"/>' : '<img src="/Gemma/images/icons/lock.png" ext:qtip="Private" ext:qtip="Private" alt="private"/>'; var sharedIc... |
var result = '<span style="cursor:pointer" onClick="return Gemma.SecurityManager.managePermissions(\'' + elid + '\', \'' + clazz + '\',\'' + id + '\');" id="' + elid + '" >' + icon + ' ' + sharedIcon + '</span>'; | var dialog = canEdit ? 'style="cursor:pointer" onClick="return Gemma.SecurityManager.managePermissions(\'' + elid + '\', \'' + clazz + '\',\'' + id + '\');"' : ''; var result = '<span ' + dialog + ' id="' + elid + '" >' + icon + ' ' + sharedIcon + '</span>'; | Gemma.SecurityManager.getSecurityLink = function(clazz, id, isPublic, isShared) { var icon = isPublic ? '<img src="/Gemma/images/icons/lock_open2.png" ext:qtip="Public" ext:qtip="Public" alt="public"/>' : '<img src="/Gemma/images/icons/lock.png" ext:qtip="Private" ext:qtip="Private" alt="private"/>'; var sharedIc... |
? '<img src="/Gemma/images/icons/lock_open2.png" alt="public"/>' : '<img src="/Gemma/images/icons/lock.png" alt="public"/>'; | ? '<img src="/Gemma/images/icons/lock_open2.png" ext:qtip="Public" ext:qtip="Public" alt="public"/>' : '<img src="/Gemma/images/icons/lock.png" ext:qtip="Private" ext:qtip="Private" alt="private"/>'; | Gemma.SecurityManager.getSecurityLink = function(clazz, id, isPublic, isShared) { var icon = isPublic ? '<img src="/Gemma/images/icons/lock_open2.png" alt="public"/>' : '<img src="/Gemma/images/icons/lock.png" alt="public"/>'; var sharedIcon = isShared ? '<img src="/Gemma/images/icons/group.png" alt="shared"/>' ... |
var sharedIcon = isShared ? '<img src="/Gemma/images/icons/group.png" alt="shared"/>' : ''; | var sharedIcon = isShared ? '<img src="/Gemma/images/icons/group.png" ext:qtip="Shared" alt="shared"/>' : ''; | Gemma.SecurityManager.getSecurityLink = function(clazz, id, isPublic, isShared) { var icon = isPublic ? '<img src="/Gemma/images/icons/lock_open2.png" alt="public"/>' : '<img src="/Gemma/images/icons/lock.png" alt="public"/>'; var sharedIcon = isShared ? '<img src="/Gemma/images/icons/group.png" alt="shared"/>' ... |
return Gemma.SecurityManager.getSecurityLink(clazz, id, isPublic, isShared); | var canEdit = securityInfo.currentUserCanwrite; return Gemma.SecurityManager.getSecurityLink(clazz, id, isPublic, isShared, canEdit); | Gemma.SecurityManager.getSecurityUrl = function(clazz, id) { // FIXME: make method wait for callback method to return ends prematurly // return no link at all. SecurityController.getSecurityInfo({ classDelegatingFor : clazz, id : id }, { callback : function(securityInfo) { var isPublic = securityInfo.pub... |
(function($){var ver="2.86";if($.support==undefined){$.support={opacity:!($.browser.msie)};}function debug(s){if($.fn.cycle.debug){log(s);}}function log(){if(window.console&&window.console.log){window.console.log("[cycle] "+Array.prototype.join.call(arguments," "));}}$.fn.cycle=function(options,arg2){var o={s:this.sele... | jQuery.url=function(){var segments={};var parsed={};var options={url:window.location,strictMode:false,key:["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"],q:{name:"queryKey",parser:/(?:^|&)([^&=]*)=?([^&]*)/g},parser:{strict:/^(?:([^:\/?#... | (function($){var ver="2.86";if($.support==undefined){$.support={opacity:!($.browser.msie)};}function debug(s){if($.fn.cycle.debug){log(s);}}function log(){if(window.console&&window.console.log){window.console.log("[cycle] "+Array.prototype.join.call(arguments," "));}}$.fn.cycle=function(options,arg2){var o={s:this.sele... |
if (this.getStore()) { | if (this.getStore() && this.view) { | getSelected : function() { if (this.getStore()) { var index = this.view.getSelectedIndexes()[0]; return this.getStore().getAt(index); } }, |
if (onSuccessFn) onSuccessFn(r.getResult().Count); | if (onSuccessFn) onSuccessFn(r.Count); | getSetCount: function(id, onSuccessFn, onErrorFn) { this.gateway.getFromService('GetSetCount', { Id: id || null }, function(r) { if (onSuccessFn) onSuccessFn(r.getResult().Count); }, onErrorFn || RedisClient.errorFn); }, |
return this.service.getInteger('hudson.size'); | return this.service.getInteger('extensions.hudson.buildmonitor.size'); | getSize: function() { return this.service.getInteger('hudson.size'); }, |
if (onSuccessFn) onSuccessFn(r.getResult().Values); | if (onSuccessFn) onSuccessFn(r.Values); | getSortedEntryValues: function(key, startingFrom, endingAt, onSuccessFn, onErrorFn) { this.gateway.getFromService('GetSortedEntryValues', { Key: key || null, StartingFrom: startingFrom || null, EndingAt: endingAt || null }, function(r) { if (onSuccessFn) onSuccessFn(r.getResult().Values); }, onErrorFn || R... |
if (onSuccessFn) onSuccessFn(r.getResult().Count); | if (onSuccessFn) onSuccessFn(r.Count); | getSortedSetCount: function(id, onSuccessFn, onErrorFn) { this.gateway.getFromService('GetSortedSetCount', { Id: id || null }, function(r) { if (onSuccessFn) onSuccessFn(r.getResult().Count); }, onErrorFn || RedisClient.errorFn); }, |
return this.service.getBoolean('hudson.sound'); | return this.service.getBoolean('extensions.hudson.buildmonitor.sound'); | getSound: function() { return this.service.getBoolean('hudson.sound'); }, |
if (onSuccessFn) onSuccessFn(r.getResult().Value); | if (onSuccessFn) onSuccessFn(r.Value); | getSubstring: function(key, fromIndex, toIndex, onSuccessFn, onErrorFn) { this.gateway.getFromService('GetSubstring', { Key: key || null, FromIndex: fromIndex || null, ToIndex: toIndex || null }, function(r) { if (onSuccessFn) onSuccessFn(r.getResult().Value); }, onErrorFn || RedisClient.errorFn); }, |
return this.service.getString('hudson.successcolor'); | return this.service.getString('extensions.hudson.buildmonitor.successcolor'); | getSuccessColor: function() { return this.service.getString('hudson.successcolor'); }, |
if (onSuccessFn) onSuccessFn(r.getResult().TimeRemaining); | if (onSuccessFn) onSuccessFn(r.TimeRemaining); | getTimeToLive: function(key, onSuccessFn, onErrorFn) { this.gateway.getFromService('GetTimeToLive', { Key: key || null }, function(r) { if (onSuccessFn) onSuccessFn(r.getResult().TimeRemaining); }, onErrorFn || RedisClient.errorFn); }, |
return document.title.replace(/ - Wikipedia.+/, ''); } | var siteSpec = citethis.getSiteSpecific('getTitle'); if ( siteSpec ) return citethis.formatTitle(siteSpec); if ( document.title == "Mozilla Firefox" ) return "Website Title"; return citethis.formatTitle(document.title.replace(/ - Mozilla Firefox$/i, '')); }, | getTitle: function () { return document.title.replace(/ - Wikipedia.+/, ''); } |
} if(_sgffx.tosList.indexOf('fax') !== -1) { _sgffx.setXulObjectVisibility('showfaxmenuitem', 1); _sgffx.setXulObjectVisibility('sendfaxpdfmenuitem', 1); } if(_sgffx.tosList.indexOf('text') !== -1) { _sgffx.setXulObjectVisibility('showsmsformmenuitem', 1); | getTosList: function() { this.log("*** getTosList *** BEGIN ***"); if (!this.isLoggedIn) { this.log("*** getTosList *** USER NOT LOGGED IN ***"); return; } var params = { }; var result = function(ourParsedResponse, aXML){ if (ourParsedResponse.StatusCode && ourParsedResponse.StatusCode == 200) { ... | |
if (onSuccessFn) onSuccessFn(r.getResult().Items); | if (onSuccessFn) onSuccessFn(r.Items); | getUnionFromSets: function(setIds, onSuccessFn, onErrorFn) { this.gateway.postToService('GetUnionFromSets', { SetIds: setIds || null }, function(r) { if (onSuccessFn) onSuccessFn(r.getResult().Items); }, onErrorFn || RedisClient.errorFn); }, |
SecurityController.getUsersGeneGroups = function(p0, callback) { dwr.engine._execute(SecurityController._path, 'SecurityController', 'getUsersGeneGroups', p0, callback); | GeneSetController.getUsersGeneGroups = function(p0, callback) { dwr.engine._execute(GeneSetController._path, 'GeneSetController', 'getUsersGeneGroups', p0, callback); | SecurityController.getUsersGeneGroups = function(p0, callback) { dwr.engine._execute(SecurityController._path, 'SecurityController', 'getUsersGeneGroups', p0, callback);} |
GeneSetController.getUsersGeneGroups = function(p0, callback) { dwr.engine._execute(GeneSetController._path, 'GeneSetController', 'getUsersGeneGroups', p0, callback); | GeneSetController.getUsersGeneGroups = function(p0, p1, callback) { dwr.engine._execute(GeneSetController._path, 'GeneSetController', 'getUsersGeneGroups', p0, p1, callback); | GeneSetController.getUsersGeneGroups = function(p0, callback) { dwr.engine._execute(GeneSetController._path, 'GeneSetController', 'getUsersGeneGroups', p0, callback);} |
if (onSuccessFn) onSuccessFn(r.getResult().Value); | if (onSuccessFn) onSuccessFn(r.Value); | getValue: function(key, onSuccessFn, onErrorFn) { this.gateway.getFromService('GetValue', { Key: key || null }, function(r) { if (onSuccessFn) onSuccessFn(r.getResult().Value); }, onErrorFn || RedisClient.errorFn); }, |
var ret = this.field.options[index].get("value"); if (!$defined(ret)) { ret = this.field.options[index].get("text"); | if (index > -1) { var ret = this.field.options[index].get("value"); if (!$defined(ret)) { ret = this.field.options[index].get("text"); } return ret; | getValue: function () { var index = this.field.selectedIndex; //check for a set "value" attribute. If not there return the text var ret = this.field.options[index].get("value"); if (!$defined(ret)) { ret = this.field.options[index].get("text"); } return ret; } |
return ret; } | }, | getValue: function () { var index = this.field.selectedIndex; //check for a set "value" attribute. If not there return the text var ret = this.field.options[index].get("value"); if (!$defined(ret)) { ret = this.field.options[index].get("text"); } return ret; } |
if (onSuccessFn) onSuccessFn(r.getResult().Value); | if (onSuccessFn) onSuccessFn(r.Value); | getValueFromHash: function(id, key, onSuccessFn, onErrorFn) { this.gateway.getFromService('GetValueFromHash', { Id: id || null, Key: key || null }, function(r) { if (onSuccessFn) onSuccessFn(r.getResult().Value); }, onErrorFn || RedisClient.errorFn); }, |
if ($defined(asQueryString)) { | if ($defined(asQueryString) && asQueryString) { | getValues : function (asQueryString) { var queryString = this.domObj.toQueryString(); if ($defined(asQueryString)) { return queryString; } else { return queryString.parseQueryString(); } }, |
if (onSuccessFn) onSuccessFn(r.getResult().Values); | if (onSuccessFn) onSuccessFn(r.Values); | getValues: function(keys, onSuccessFn, onErrorFn) { this.gateway.postToService('GetValues', { Keys: keys || null }, function(r) { if (onSuccessFn) onSuccessFn(r.getResult().Values); }, onErrorFn || RedisClient.errorFn); }, |
if (onSuccessFn) onSuccessFn(r.getResult().Values); | if (onSuccessFn) onSuccessFn(r.Values); | getValuesFromHash: function(id, keys, onSuccessFn, onErrorFn) { this.gateway.postToService('GetValuesFromHash', { Id: id || null, Keys: keys || null }, function(r) { if (onSuccessFn) onSuccessFn(r.getResult().Values); }, onErrorFn || RedisClient.errorFn); }, |
this[variableName] = defaultValue; | localSettings[variableName] = defaultValue; | function getVariableFromLocalStorage(variableName,defaultValue) { this[variableName] = defaultValue; var onResponse = function (response) { if (response != null) { this[variableName] = response; console.log(variableName + ' is set to: ' + response); } else { console.log(variableName + ' not found in l... |
this[variableName] = response; console.log(variableName + ' is set to: ' + response); | localSettings[variableName] = response; console.log('localSettings.' + variableName + ' is set to: ' + response); | function getVariableFromLocalStorage(variableName,defaultValue) { this[variableName] = defaultValue; var onResponse = function (response) { if (response != null) { this[variableName] = response; console.log(variableName + ' is set to: ' + response); } else { console.log(variableName + ' not found in l... |
console.log(variableName + ' not found in localStorage! ' + response); } | console.log('localSettings.' + variableName + ' not found in localStorage! ' + response); } | function getVariableFromLocalStorage(variableName,defaultValue) { this[variableName] = defaultValue; var onResponse = function (response) { if (response != null) { this[variableName] = response; console.log(variableName + ' is set to: ' + response); } else { console.log(variableName + ' not found in l... |
if (org_hudsonci_buildMonitorManager.getPreferences().getOpenPage() == 'newtab') { | if (org_hudsonci_buildMonitorManager.getPreferences().getOpenPage() === 'newtab') { | org_hudsonci.goTo = function(url) { if (org_hudsonci_buildMonitorManager.getPreferences().getOpenPage() == 'newtab') { getBrowser().addTab(url); } else { getBrowser().loadURI(url); }}; |
function handleFailure(data, e) { Ext.DomHelper.overwrite("messages", { tag : 'img', src : '/Gemma/images/icons/warning.png' }); Ext.DomHelper.append("messages", { tag : 'span', html : " There was an error while loading data:<br/>" + data }); | function handleFailure(data) { | function handleFailure(data, e) { Ext.DomHelper.overwrite("messages", { tag : 'img', src : '/Gemma/images/icons/warning.png' }); Ext.DomHelper.append("messages", { tag : 'span', html : " There was an error while loading data:<br/>" + data }); uploadButton.enable();}; |
Ext.DomHelper.overwrite("messages", { tag : 'img', src : '/Gemma/images/icons/warning.png' }); Ext.DomHelper.append("messages", { tag : 'span', html : data }); | function handleFailure(data) { // Ext.DomHelper.overwrite("messages", { // tag : 'img', // src : '/Gemma/images/icons/warning.png' // }); // Ext.DomHelper.append("messages", { // tag : 'span', // html : " There was an error while loading data:<br/>" + data // }); uploadButton.enable();}; | |
var w = new Ext.Window({ modal : true, closable : false, width : 500, items : [p], buttons : [{ id : 'cancel-button', handler : function() { p.cancelJob(); }, text : 'Cancel' }] }); p.on('done', function(payload) { w.hide('upload-button'); w.destroy(); | p.on('done', function(payload) { | function handleLoadSuccess(taskId) { try { Ext.DomHelper.overwrite("messages", ""); var p = new Gemma.ProgressWidget({ taskId : taskId }); var w = new Ext.Window({ modal : true, closable : false, width : 500, items : [p], buttons : [{ id : 'cancel-button', handler : function(... |
w.hide('upload-button'); w.destroy(); | function handleLoadSuccess(taskId) { try { Ext.DomHelper.overwrite("messages", ""); var p = new Gemma.ProgressWidget({ taskId : taskId }); var w = new Ext.Window({ modal : true, closable : false, width : 500, items : [p], buttons : [{ id : 'cancel-button', handler : function(... | |
w.hide(); w.destroy(); | function handleLoadSuccess(taskId) { try { Ext.DomHelper.overwrite("messages", ""); var p = new Gemma.ProgressWidget({ taskId : taskId }); var w = new Ext.Window({ modal : true, closable : false, width : 500, items : [p], buttons : [{ id : 'cancel-button', handler : function(... | |
w.show('upload-button'); | p.show('upload-button'); | function handleLoadSuccess(taskId) { try { Ext.DomHelper.overwrite("messages", ""); var p = new Gemma.ProgressWidget({ taskId : taskId }); var w = new Ext.Window({ modal : true, closable : false, width : 500, items : [p], buttons : [{ id : 'cancel-button', handler : function(... |
errorHandler : handleFailure | errorHandler : handleFailure, callback : function(){ document.location.reload(true); Ext.DomHelper.overwrite("messages", "Successfully loaded"); } | function handleLoadSuccess(taskId) { try { Ext.DomHelper.overwrite("messages", ""); var p = new Gemma.ProgressWindow({ taskId : taskId, errorHandler : handleFailure }); p.show('upload-button'); } catch (e) { handleFailure(data, e); return; }}; |
var p = new Gemma.ProgressWidget({ taskId : taskId }); p.on('done', function(payload) { p.destroy(); document.location.reload(true); Ext.DomHelper.overwrite("messages", "Successfully loaded."); }.createDelegate(this)); p.on('fail', function(payload) { p.destroy(); handleFailure(payload); }); p.on('cancel', function(... | var p = new Gemma.ProgressWindow({ taskId : taskId, errorHandler : handleFailure | function handleLoadSuccess(taskId) { try { Ext.DomHelper.overwrite("messages", ""); var p = new Gemma.ProgressWidget({ taskId : taskId }); p.on('done', function(payload) { p.destroy(); document.location.reload(true); // user will get a warning, but that's okay. Ext.DomHelper.overwrite("messages",... |
p.startProgress(); | function handleLoadSuccess(taskId) { try { Ext.DomHelper.overwrite("messages", ""); var p = new Gemma.ProgressWidget({ taskId : taskId }); p.on('done', function(payload) { p.destroy(); document.location.reload(true); // user will get a warning, but that's okay. Ext.DomHelper.overwrite("messages",... | |
to_target = interestingTags; from_target = ignoredTags; | var to_target = interestingTags; var from_target = ignoredTags; var to_tag_container; | var handlePickedTag = function(obj,reason){ var tagname = $.trim($(obj).prev().attr('value')); to_target = interestingTags; from_target = ignoredTags; if (reason == 'bad'){ to_target = ignoredTags; from_target = interestingTags; to_tag_container = $('div ... |
new_tag = $('<span></span>'); | var new_tag = $('<span></span>'); | var handlePickedTag = function(obj,reason){ var tagname = $.trim($(obj).prev().attr('value')); to_target = interestingTags; from_target = ignoredTags; if (reason == 'bad'){ to_target = ignoredTags; from_target = interestingTags; to_tag_container = $('div ... |
tag_link = $('<a></a>'); | var tag_link = $('<a></a>'); | var handlePickedTag = function(obj,reason){ var tagname = $.trim($(obj).prev().attr('value')); to_target = interestingTags; from_target = ignoredTags; if (reason == 'bad'){ to_target = ignoredTags; from_target = interestingTags; to_tag_container = $('div ... |
del_link = $('<img></img>'); | var del_link = $('<img></img>'); | var handlePickedTag = function(obj,reason){ var tagname = $.trim($(obj).prev().attr('value')); to_target = interestingTags; from_target = ignoredTags; if (reason == 'bad'){ to_target = ignoredTags; from_target = interestingTags; to_tag_container = $('div ... |
} | }; | var handlePickedTag = function(obj,reason){ var tagname = $.trim($(obj).prev().attr('value')); to_target = interestingTags; from_target = ignoredTags; if (reason == 'bad'){ to_target = ignoredTags; from_target = interestingTags; to_tag_container = $('div ... |
del_link.attr('src', scriptUrl + 'media/images/close-small-dark.png'); | del_link.attr('src', mediaUrl('/media/images/close-small-dark.png')); | var handlePickedTag = function(obj,reason){ var tagname = $.trim($(obj).prev().attr('value')); var to_target = interestingTags; var from_target = ignoredTags; var to_tag_container; if (reason == 'bad'){ to_target = ignoredTags; from_target = interestingTags; ... |
tag_link.attr('href', scriptUrl + $.i18n._('tags/') + tagname); | var tag_url = scriptUrl + $.i18n._('questions/') + '?tags=' + tagname; tag_link.attr('href', tag_url); | var handlePickedTag = function(obj,reason){ var tagname = $.trim($(obj).prev().attr('value')); var to_target = interestingTags; var from_target = ignoredTags; var to_tag_container; if (reason == 'bad'){ to_target = ignoredTags; from_target = interestingTags; ... |
var node = layerTree.getSelectionModel().getSelectedNode(); if (node && node.layer) { var layer = node.layer; var store = node.layerStore; var record = store.getAt(store.findBy(function(record){ return record.get("layer") === layer; })); var backupParams = Ext.apply({}, record.get("layer").params); var prop = new Ext.W... | var node = layerTree.getSelectionModel().getSelectedNode(); if(node && node.layer) { var map = this.mapPanel.map; var extent = node.layer.restrictedExtent || map.maxExtent; map.zoomToExtent(extent, true); | handler: function() { var node = layerTree.getSelectionModel().getSelectedNode(); if (node && node.layer) { var layer = node.layer; var store = node.layerStore; var record = store.getAt(store.findBy(function(record){ ... |
}] }); prop.items.get(0).items.get(0).cascade(function(i) { i instanceof Ext.form.Field && i.setDisabled(true); }); var stylesPanel = this.createStylesPanel({ layerRecord: record, applySelectedStyle: true }); stylesPanel.setTitle("Styles"); prop.items.get(0).add(stylesPanel) prop.show(); } }, | }, | handler: function() { var node = layerTree.getSelectionModel().getSelectedNode(); if (node && node.layer) { var layer = node.layer; var store = node.layerStore; var record = store.getAt(store.findBy(function(record){ ... |
handler : function(){ tabs.items.each(function(item){ if(item.closable && item != ctxItem){ tabs.remove(item); } }); } | handler: function(){ win.close(); } | handler : function(){ tabs.items.each(function(item){ if(item.closable && item != ctxItem){ tabs.remove(item); } }); } |
newSourceWindow.show(); } | var node = layerTree.getSelectionModel().getSelectedNode(); if(node && node.layer) { this.map.zoomToExtent(node.layer.restrictedExtent); } }, | handler: function() { newSourceWindow.show(); } |
prop.close(); } | newSourceWindow.show(); } | handler: function() { prop.close(); } |
tvheadend.channels.rejectChanges(); }, | new tvheadend.help('Channels', 'config_channels.html'); } | handler: function() { tvheadend.channels.rejectChanges(); }, |
var feedback = $.i18n._('can write') + ' ' + (maxCommentLength - length) + ' ' + $.i18n._('characters'); | var feedback = $.i18n._('{0} characters left') .replace('{0}', maxCommentLength - length); | var handler = function(){ var textarea = $(this); var length = textarea.val() ? textarea.val().length : 0; var length1 = maxCommentLength - 100; if (length1 < 0){ length1 = Math.round(0.7*maxCommentLength); } var length2 = maxCommentLength - 30; if (length... |
if ($defined(data.data)) { response.data = data.data; | if ($defined(data.success) && data.success) { if ($defined(data.data)) { response.data = data.data; } if ($defined(data.meta)) { response.meta = data.meta; } response.code = Jx.Store.Response.SUCCESS; } else { response.code = Jx.Store.Response.FAILURE; response.error = $defined(data.error) ? data.error : null; | handleResponse: function (response) { var req = response.request; var str = req.xhr.responseText; var data = this.parser.parse(str); if ($defined(data)) { if ($defined(data.data)) { response.data = data.data; } if ($defined(data.met... |
if ($defined(data.meta)) { response.meta = data.meta; } response.code = Jx.Store.Response.SUCCESS; | handleResponse: function (response) { var req = response.request; var str = req.xhr.responseText; var data = this.parser.parse(str); if ($defined(data)) { if ($defined(data.data)) { response.data = data.data; } if ($defined(data.met... | |
this.waiting = true; this.stopProgress(); this.startProgress(); | handleResponseFailure : function(data, e) { /* * keep going. Hopefully just a temporary network lapse. */ this.progressBar.updateText("Network error, continuing."); this.waiting = true; this.stopProgress(); this.startProgress(); }, | |
this.progressBar.updateText("Network error, continuing."); this.waiting = true; | handleResponseFailure : function(data, e) { /* * keep going. Hopefully just a temporary network lapse. */ }, | |
var p = new Gemma.ProgressWidget({ taskId : taskId }); p.on('done', function(payload) { p.destroy(); window.location = payload; }.createDelegate(this)); p.on('fail', function(payload) { p.destroy(); handleFailure(payload); }); p.on('cancel', function() { p.destroy(); reset(); | var p = new Gemma.ProgressWindow({ taskId : taskId, callback : function(p) { window.location = p }, errorHandler : handleFailure | function handleSuccess(taskId) { try { Ext.DomHelper.overwrite("messages", ""); var p = new Gemma.ProgressWidget({ taskId : taskId }); p.on('done', function(payload) { // this.onDoneLoading(payload); p.destroy(); window.location = payload; }.createDelegate(this)); p.on('fail', function(payload... |
p.startProgress(); | function handleSuccess(taskId) { try { Ext.DomHelper.overwrite("messages", ""); var p = new Gemma.ProgressWidget({ taskId : taskId }); p.on('done', function(payload) { // this.onDoneLoading(payload); p.destroy(); window.location = payload; }.createDelegate(this)); p.on('fail', function(payload... | |
handleFailure(data, e); | handleFailure(e); | function handleSuccess(taskId) { try { Ext.DomHelper.overwrite("messages", ""); var p = new Gemma.ProgressWidget({ taskId : taskId }); p.on('done', function(payload) { // this.onDoneLoading(payload); p.destroy(); window.location = payload; }.createDelegate(this)); p.on('fail', function(payload... |
var w = new Ext.Window({ modal : true, closable : false, width : 500, items : [p], buttons : [{ id : 'cancel-button', handler : function() { p.cancelJob(); }, text : 'Cancel' }] }); | function handleSuccess(taskId) { try { Ext.DomHelper.overwrite("messages", ""); var p = new Gemma.ProgressWidget({ taskId : taskId }); var w = new Ext.Window({ modal : true, closable : false, width : 500, items : [p], buttons : [{ id : 'cancel-button', handler : function() { ... | |
w.hide('upload-button'); w.destroy(); | function handleSuccess(taskId) { try { Ext.DomHelper.overwrite("messages", ""); var p = new Gemma.ProgressWidget({ taskId : taskId }); var w = new Ext.Window({ modal : true, closable : false, width : 500, items : [p], buttons : [{ id : 'cancel-button', handler : function() { ... | |
w.hide(); w.destroy(); | function handleSuccess(taskId) { try { Ext.DomHelper.overwrite("messages", ""); var p = new Gemma.ProgressWidget({ taskId : taskId }); var w = new Ext.Window({ modal : true, closable : false, width : 500, items : [p], buttons : [{ id : 'cancel-button', handler : function() { ... | |
w.show('upload-button'); | p.show('upload-button'); | function handleSuccess(taskId) { try { Ext.DomHelper.overwrite("messages", ""); var p = new Gemma.ProgressWidget({ taskId : taskId }); var w = new Ext.Window({ modal : true, closable : false, width : 500, items : [p], buttons : [{ id : 'cancel-button', handler : function() { ... |
this.fireEvent('done', data); | this.fireEvent('fail', data); | handleWait : function(taskId, showAllMessages) { try { var p = new Gemma.ProgressWindow({ taskId : taskId, callback : function(data) { this.fireEvent('done', data); }.createDelegate(this), errorHandler : function(data) { this.fireEvent('done', data); }.create... |
p.show(); | if (this.throbberEl !== null) { var el = Ext.get(this.throbberEl); var id = Ext.id(); Ext.DomHelper.append(this.throbberEl, '<span id="' + id + '"><img src="/Gemma/images/default/tree/loading.gif"/></span>'); this.on('done', function(data) { Ext.DomHelper.overwrite(id, ""); }); p.start(); } else { p.show(); } | handleWait : function(taskId, showAllMessages) { try { var p = new Gemma.ProgressWindow({ taskId : taskId, callback : function(data) { this.fireEvent('done', data); }.createDelegate(this), showAllMessages : showAllMessages }); p.show(); } catch (e) { Ext.Ms... |
c.contains=k.contains})();var Za=/Until$/,$a=/^(?:parents|prevUntil|prevAll)/,ab=/,/,Na=/^.[^:#\[\.,]*$/,bb=Array.prototype.slice,cb=c.expr.match.POS;c.fn.extend({find:function(a){for(var b=this.pushStack("","find",a),d=0,e=0,f=this.length;e<f;e++){d=b.length;c.find(a,this[e],b);if(e>0)for(var h=d;h<b.length;h++)for(va... | true},checked:function(g){return g.checked===true},selected:function(g){return g.selected===true},parent:function(g){return!!g.firstChild},empty:function(g){return!g.firstChild},has:function(g,i,n){return!!k(n[3],g).length},header:function(g){return/h\d/i.test(g.nodeName)},text:function(g){return"text"===g.type},radio:... | c.contains=k.contains})();var Za=/Until$/,$a=/^(?:parents|prevUntil|prevAll)/,ab=/,/,Na=/^.[^:#\[\.,]*$/,bb=Array.prototype.slice,cb=c.expr.match.POS;c.fn.extend({find:function(a){for(var b=this.pushStack("","find",a),d=0,e=0,f=this.length;e<f;e++){d=b.length;c.find(a,this[e],b);if(e>0)for(var h=d;h<b.length;h++)for(va... |
if (onSuccessFn) onSuccessFn(r.getResult().Result); | if (onSuccessFn) onSuccessFn(r.Result); | hashContainsEntry: function(id, key, onSuccessFn, onErrorFn) { this.gateway.getFromService('HashContainsEntry', { Id: id || null, Key: key || null }, function(r) { if (onSuccessFn) onSuccessFn(r.getResult().Result); }, onErrorFn || RedisClient.errorFn); }, |
if (this.index < this.data.length - 1) { return true; } else { return false; } } else { return null; | return this.index < this.data.length - 1; | hasNext : function () { if ($defined(this.data)) { if (this.index < this.data.length - 1) { return true; } else { return false; } } else { return null; } }, |
return null; | hasNext : function () { if ($defined(this.data)) { if (this.index < this.data.length - 1) { return true; } else { return false; } } else { return null; } }, | |
if (this.index > 0) { return true; } else { return false; } } else { return null; | return this.index > 0; | hasPrevious : function () { if ($defined(this.data)) { if (this.index > 0) { return true; } else { return false; } } else { return null; } }, |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.