rem stringlengths 0 126k | add stringlengths 0 441k | context stringlengths 15 136k |
|---|---|---|
width : 140 | width : 140, taxonId : this.taxonId | initComponent : function() { if (this.annotationGrid.editable && !this.saveHandler) { this.saveHandler = CharacteristicBrowserController.updateCharacteristics; } var charComboOpts = { emptyText : 'Enter term', width : 140 }; if (this.charComboWidth) { charComboOpts.width = this.charComboWidth; } var mge... |
emptyText : 'Filter', tooltip : "Text typed here will ", | emptyText : 'Search', tooltip : "Text typed here will act as a filter.", | initComponent : function() { this.searchInGridField = new Ext.form.TextField({ enableKeyEvents : true, emptyText : 'Filter', tooltip : "Text typed here will ", listeners : { "keyup" : { fn : this.searchForText.createDelegate(this), scope : this, options : { ... |
}, '->', { | }, this.filterCombo, '->', { | initComponent : function() { this.searchInGridField = new Ext.form.TextField({ enableKeyEvents : true, emptyText : 'Filter', tooltip : "Text typed here will ", listeners : { "keyup" : { fn : this.searchForText.createDelegate(this), scope : this, options : { ... |
width : "100%", | initComponent : function() { var refreshGeneGroupData = function() { var showPrivateOnly = !Ext.getCmp("geneGroupData-show-public").pressed; Ext.getCmp('gene-group-panel').getStore().load({ params : [showPrivateOnly] }); }; this.geneChooserPanel = new Gemma.GeneGrid({ region : 'east', id : 'gen... | |
Ext .getCmp('gene-chooser-panel') .loadGenes([]); | initComponent : function() { var refreshGeneGroupData = function() { var showPrivateOnly = !Ext.getCmp("geneGroupData-show-public").pressed; Ext.getCmp('gene-group-panel').getStore().load({ params : [showPrivateOnly] }); }; this.geneChooserPanel = new Gemma.GeneGrid({ region : 'east', id : 'gen... | |
icon : '/Gemma/images/icons/information.png', | icon : Gemma.ICONURL + 'information.png', | initComponent : function() { // has to be done after constructor is done creating the handler... this.geneGroupCombo = new Gemma.GeneGroupCombo({ id : "visGeneGroupCombo", listeners : { 'select' : { fn : function(combo, record, index) { var loadMask = new Ext.LoadMask(this.getEl(), { ... |
var geneIds = Ext .getCmp("gene-chooser-panel") .getGeneIds(); SecurityController.createGeneGroup( text, geneIds, { | GeneSetController.createGeneGroup(text, [], { | initComponent : function() { var refreshGeneGroupData = function() { var showPrivateOnly = !Ext.getCmp("geneGroupData-show-public").pressed; Ext.getCmp('gene-group-panel').getStore().load({ params : [showPrivateOnly] }); }; this.geneChooserPanel = new Gemma.GeneGrid({ region : 'east', id : 'gen... |
}) | }); | initComponent : function() { var refreshGeneGroupData = function() { var showPrivateOnly = !Ext.getCmp("geneGroupData-show-public").pressed; Ext.getCmp('gene-group-panel').getStore().load({ params : [showPrivateOnly] }); }; this.geneChooserPanel = new Gemma.GeneGrid({ region : 'east', id : 'gen... |
SecurityController.updateGeneGroup( rec.data.entityId, geneIds, { | GeneSetController.updateGeneGroup(rec.data.id, geneIds, { | initComponent : function() { var refreshGeneGroupData = function() { var showPrivateOnly = !Ext.getCmp("geneGroupData-show-public").pressed; Ext.getCmp('gene-group-panel').getStore().load({ params : [showPrivateOnly] }); }; this.geneChooserPanel = new Gemma.GeneGrid({ region : 'east', id : 'gen... |
var groupId = sel.get("entityId"); var groupName = sel.get("entityName"); | var groupId = sel.get("id"); var groupName = sel.get("name"); | initComponent : function() { var refreshGeneGroupData = function() { var showPrivateOnly = !Ext.getCmp("geneGroupData-show-public").pressed; Ext.getCmp('gene-group-panel').getStore().load({ params : [showPrivateOnly] }); }; this.geneChooserPanel = new Gemma.GeneGrid({ region : 'east', id : 'gen... |
SecurityController.deleteGeneGroup(groupId, { | GeneSetController.deleteGeneGroup(groupId, { | initComponent : function() { var refreshGeneGroupData = function() { var showPrivateOnly = !Ext.getCmp("geneGroupData-show-public").pressed; Ext.getCmp('gene-group-panel').getStore().load({ params : [showPrivateOnly] }); }; this.geneChooserPanel = new Gemma.GeneGrid({ region : 'east', id : 'gen... |
}; } | } }; | initComponent : function() { var refreshGeneGroupData = function() { var showPrivateOnly = !Ext.getCmp("geneGroupData-show-public").pressed; Ext.getCmp('gene-group-panel').getStore().load({ params : [showPrivateOnly] }); }; this.geneChooserPanel = new Gemma.GeneGrid({ region : 'east', id : 'gen... |
store : new Ext.data.Store({ proxy : new Ext.data.DWRProxy(GeneSetController.findGeneSetsByName), reader : new Ext.data.ListRangeReader({ id : "id" }, this.record), | store : new Gemma.GeneGroupStore({ proxy : new Ext.data.DWRProxy(GeneSetController.findGeneSetsByName), | initComponent : function() { var template = new Ext.XTemplate('<tpl for="."><div style="font-size:11px" class="x-combo-list-item" ext:qtip="{name}({size})"> {name} {description} ({size})</div></tpl>'); Ext.apply(this, { tpl : template, store : new Ext.data.Store({ proxy : new Ext.data.DWRProxy(GeneSet... |
GeneSetController.createGeneGroup(text, [], { callback : function( groupname) { | GeneSetController.createGeneGroup(text, [], { callback : function(groupId) { | initComponent : function() { this.geneChooserPanel = new Gemma.GeneGrid({ region : 'east', id : 'gene-chooser-panel' }); this.geneGroupPanel = new Gemma.GeneGroupPanel({ id : 'gene-group-panel', region : 'center' }); Ext.apply(this.geneChooserPanel.getTopToolbar().taxonCombo, { stateId : "... |
refreshGeneGroupData(); Ext .getCmp('gene-chooser-panel') .getTopToolbar().geneCombo .focus(); | var genePanel = Ext .getCmp('gene-chooser-panel'); genePanel.currentGroupId = null; genePanel.loadGenes([]); refreshGeneGroupData(groupId); genePanel.getTopToolbar().geneCombo.focus(); | initComponent : function() { this.geneChooserPanel = new Gemma.GeneGrid({ region : 'east', id : 'gene-chooser-panel' }); this.geneGroupPanel = new Gemma.GeneGroupPanel({ id : 'gene-group-panel', region : 'center' }); Ext.apply(this.geneChooserPanel.getTopToolbar().taxonCombo, { stateId : "... |
}, errorHandler : function(e) { Ext.Msg.alert('Sorry', e); | }, errorHandler : function(e) { Ext.Msg.alert('Sorry', e); } }); | initComponent : function() { this.geneChooserPanel = new Gemma.GeneGrid({ region : 'east', id : 'gene-chooser-panel' }); this.geneGroupPanel = new Gemma.GeneGroupPanel({ id : 'gene-group-panel', region : 'center' }); Ext.apply(this.geneChooserPanel.getTopToolbar().taxonCombo, { stateId : "... |
}); | }, { tooltip : "Save changes", icon : "/Gemma/images/icons/database_save.png", id : 'manager-data-panel-save-btn', handler : function(b, e) { | initComponent : function() { this.geneChooserPanel = new Gemma.GeneGrid({ region : 'east', id : 'gene-chooser-panel' }); this.geneGroupPanel = new Gemma.GeneGroupPanel({ id : 'gene-group-panel', region : 'center' }); Ext.apply(this.geneChooserPanel.getTopToolbar().taxonCombo, { stateId : "... |
} }, { tooltip : "Save changes", icon : "/Gemma/images/icons/database_save.png", id : 'manager-data-panel-save-btn', handler : function(b, e) { | var rec = Ext.getCmp("gene-group-panel").getSelectionModel().getSelected(); if (rec) { | initComponent : function() { this.geneChooserPanel = new Gemma.GeneGrid({ region : 'east', id : 'gene-chooser-panel' }); this.geneGroupPanel = new Gemma.GeneGroupPanel({ id : 'gene-group-panel', region : 'center' }); Ext.apply(this.geneChooserPanel.getTopToolbar().taxonCombo, { stateId : "... |
var rec = Ext.getCmp("gene-group-panel") .getSelectionModel().getSelected(); if (rec) { | initComponent : function() { this.geneChooserPanel = new Gemma.GeneGrid({ region : 'east', id : 'gene-chooser-panel' }); this.geneGroupPanel = new Gemma.GeneGroupPanel({ id : 'gene-group-panel', region : 'center' }); Ext.apply(this.geneChooserPanel.getTopToolbar().taxonCombo, { stateId : "... | |
var geneIds = Ext.getCmp("gene-chooser-panel") .getGeneIds(); | var loadMask = new Ext.LoadMask(Ext.getCmp("gene-group-panel").getEl(), { msg : "Saving changes..." }); loadMask.show(); | initComponent : function() { this.geneChooserPanel = new Gemma.GeneGrid({ region : 'east', id : 'gene-chooser-panel' }); this.geneGroupPanel = new Gemma.GeneGroupPanel({ id : 'gene-group-panel', region : 'center' }); Ext.apply(this.geneChooserPanel.getTopToolbar().taxonCombo, { stateId : "... |
GeneSetController.updateGeneGroup(rec.data.id, geneIds, { callback : function(d) { refreshGeneGroupData(); }, errorHandler : function(e) { Ext.Msg.alert('Sorry', e); | var geneIds = Ext.getCmp("gene-chooser-panel").getGeneIds(); GeneSetController.updateGeneGroup(rec.data.id, rec.data.description, geneIds, { callback : function(d) { Ext.getCmp('gene-chooser-panel').currentGroupId = null; refreshGeneGroupData(); loadMask.hide() }, errorHandler : function(e) { Ext.Msg.alert('Sorry', e... | initComponent : function() { this.geneChooserPanel = new Gemma.GeneGrid({ region : 'east', id : 'gene-chooser-panel' }); this.geneGroupPanel = new Gemma.GeneGroupPanel({ id : 'gene-group-panel', region : 'center' }); Ext.apply(this.geneChooserPanel.getTopToolbar().taxonCombo, { stateId : "... |
}); | initComponent : function() { this.geneChooserPanel = new Gemma.GeneGrid({ region : 'east', id : 'gene-chooser-panel' }); this.geneGroupPanel = new Gemma.GeneGroupPanel({ id : 'gene-group-panel', region : 'center' }); Ext.apply(this.geneChooserPanel.getTopToolbar().taxonCombo, { stateId : "... | |
} | } }, { tooltip : "Refresh from the database", icon : "/Gemma/images/icons/arrow_refresh_small.png", handler : function() { refreshGeneGroupData(); } }, { tooltip : "Show/hide public data", id : "geneGroupData-show-public", enableToggle : true, icon : "/Gemma/images/icons/world_add.png", handler : function() { refreshGe... | initComponent : function() { this.geneChooserPanel = new Gemma.GeneGrid({ region : 'east', id : 'gene-chooser-panel' }); this.geneGroupPanel = new Gemma.GeneGroupPanel({ id : 'gene-group-panel', region : 'center' }); Ext.apply(this.geneChooserPanel.getTopToolbar().taxonCombo, { stateId : "... |
} }, { tooltip : "Refresh from the database", icon : "/Gemma/images/icons/arrow_refresh_small.png", handler : function() { refreshGeneGroupData(); } }, { tooltip : "Show/hide public data", id : "geneGroupData-show-public", enableToggle : true, icon : "/Gemma/images/icons/world_add.png", handler : function() { refreshGe... | handler : function() { | initComponent : function() { this.geneChooserPanel = new Gemma.GeneGrid({ region : 'east', id : 'gene-chooser-panel' }); this.geneGroupPanel = new Gemma.GeneGroupPanel({ id : 'gene-group-panel', region : 'center' }); Ext.apply(this.geneChooserPanel.getTopToolbar().taxonCombo, { stateId : "... |
handler : function() { | var sel = Ext.getCmp('gene-group-panel').getSelectionModel().getSelected(); var groupId = sel.get("id"); var groupName = sel.get("name"); | initComponent : function() { this.geneChooserPanel = new Gemma.GeneGrid({ region : 'east', id : 'gene-chooser-panel' }); this.geneGroupPanel = new Gemma.GeneGroupPanel({ id : 'gene-group-panel', region : 'center' }); Ext.apply(this.geneChooserPanel.getTopToolbar().taxonCombo, { stateId : "... |
var sel = Ext.getCmp('gene-group-panel') .getSelectionModel().getSelected(); var groupId = sel.get("id"); var groupName = sel.get("name"); | var processResult = function(btn) { | initComponent : function() { this.geneChooserPanel = new Gemma.GeneGrid({ region : 'east', id : 'gene-chooser-panel' }); this.geneGroupPanel = new Gemma.GeneGroupPanel({ id : 'gene-group-panel', region : 'center' }); Ext.apply(this.geneChooserPanel.getTopToolbar().taxonCombo, { stateId : "... |
var processResult = function(btn) { | if (btn == 'yes') { | initComponent : function() { this.geneChooserPanel = new Gemma.GeneGrid({ region : 'east', id : 'gene-chooser-panel' }); this.geneGroupPanel = new Gemma.GeneGroupPanel({ id : 'gene-group-panel', region : 'center' }); Ext.apply(this.geneChooserPanel.getTopToolbar().taxonCombo, { stateId : "... |
if (btn == 'yes') { | var loadMask = new Ext.LoadMask(Ext.getCmp("gene-group-panel").getEl(), { msg : "Saving changes..." }); loadMask.show(); | initComponent : function() { this.geneChooserPanel = new Gemma.GeneGrid({ region : 'east', id : 'gene-chooser-panel' }); this.geneGroupPanel = new Gemma.GeneGroupPanel({ id : 'gene-group-panel', region : 'center' }); Ext.apply(this.geneChooserPanel.getTopToolbar().taxonCombo, { stateId : "... |
GeneSetController.deleteGeneGroup(groupId, { callback : function() { refreshGeneGroupData(); Ext .getCmp('gene-chooser-panel') .loadGenes([]); }, errorHandler : function(e) { Ext.Msg.alert('Sorry', e); | GeneSetController.deleteGeneGroup(groupId, { callback : function() { refreshGeneGroupData(); Ext.getCmp('gene-chooser-panel').currentGroupId = null; Ext.getCmp('gene-group-panel').getSelectionModel() .selectFirstRow(); loadMask.hide(); }, errorHandler : function(e) { Ext.Msg.alert('Sorry', e); } }); | initComponent : function() { this.geneChooserPanel = new Gemma.GeneGrid({ region : 'east', id : 'gene-chooser-panel' }); this.geneGroupPanel = new Gemma.GeneGroupPanel({ id : 'gene-group-panel', region : 'center' }); Ext.apply(this.geneChooserPanel.getTopToolbar().taxonCombo, { stateId : "... |
}); } }; | }; | initComponent : function() { this.geneChooserPanel = new Gemma.GeneGrid({ region : 'east', id : 'gene-chooser-panel' }); this.geneGroupPanel = new Gemma.GeneGroupPanel({ id : 'gene-group-panel', region : 'center' }); Ext.apply(this.geneChooserPanel.getTopToolbar().taxonCombo, { stateId : "... |
Ext.Msg.show({ title : 'Are you sure?', msg : 'The group "' + groupName + " with id " + groupId + '" will be permanently deleted. This cannot be undone.', buttons : Ext.Msg.YESNO, fn : processResult, animEl : 'elId', icon : Ext.MessageBox.QUESTION | Ext.Msg.show({ title : 'Are you sure?', msg : 'The group "' + groupName + " with id " + groupId + '" will be permanently deleted. This cannot be undone.', buttons : Ext.Msg.YESNO, fn : processResult, animEl : 'elId', icon : Ext.MessageBox.QUESTION }); } }] }, items : [this.geneGroupPanel, this.geneChooserPanel] | initComponent : function() { this.geneChooserPanel = new Gemma.GeneGrid({ region : 'east', id : 'gene-chooser-panel' }); this.geneGroupPanel = new Gemma.GeneGroupPanel({ id : 'gene-group-panel', region : 'center' }); Ext.apply(this.geneChooserPanel.getTopToolbar().taxonCombo, { stateId : "... |
} }] }, items : [this.geneGroupPanel, this.geneChooserPanel] }); | Gemma.GeneGroupImporter.superclass.initComponent.call(this); | initComponent : function() { this.geneChooserPanel = new Gemma.GeneGrid({ region : 'east', id : 'gene-chooser-panel' }); this.geneGroupPanel = new Gemma.GeneGroupPanel({ id : 'gene-group-panel', region : 'center' }); Ext.apply(this.geneChooserPanel.getTopToolbar().taxonCombo, { stateId : "... |
Gemma.GeneGroupImporter.superclass.initComponent.call(this); | refreshGeneGroupData(); | initComponent : function() { this.geneChooserPanel = new Gemma.GeneGrid({ region : 'east', id : 'gene-chooser-panel' }); this.geneGroupPanel = new Gemma.GeneGroupPanel({ id : 'gene-group-panel', region : 'center' }); Ext.apply(this.geneChooserPanel.getTopToolbar().taxonCombo, { stateId : "... |
refreshGeneGroupData(); } | } | initComponent : function() { this.geneChooserPanel = new Gemma.GeneGrid({ region : 'east', id : 'gene-chooser-panel' }); this.geneGroupPanel = new Gemma.GeneGroupPanel({ id : 'gene-group-panel', region : 'center' }); Ext.apply(this.geneChooserPanel.getTopToolbar().taxonCombo, { stateId : "... |
this.store = new Gemma.VisualizationStore({ | this.store = this.store || new Gemma.VisualizationStore({ | initComponent : function() { if (this.title) { this.originalTitle = this.title; } this.zoomLegendId = 'zoomLegend-' + Ext.id(); this.store = new Gemma.VisualizationStore({ readMethod : this.readMethod }); this.dv = new Gemma.DataVectorThumbnailsView({ tpl : this.tpl, store : this.store, heatm... |
xtype : 'hidden', value : this.taskId, id : 'taskId', name : 'taskId' }, { | initComponent : function() { Ext.apply(this, { width : 500, frame : false, frame : true, items : [new Ext.form.FormPanel({ id : 'uploadform', labelWidth : 50, fileUpload : true, header : false, method : 'POST', frame : true, ur... | |
var taskId = parseInt(Math.random() * 1e12, 12); this.taskId = taskId; | initComponent : function() { Ext.apply(this, { width : 500, frame : false, frame : true, items : [new Ext.form.FormPanel({ id : 'uploadform', labelWidth : 50, fileUpload : true, header : false, method : 'POST', frame : true, ur... | |
waitMsg : 'Uploading your file ...', | initComponent : function() { Ext.apply(this, { width : 500, frame : false, frame : true, items : [new Ext.form.FormPanel({ id : 'uploadform', labelWidth : 50, fileUpload : true, header : false, method : 'POST', frame : true, ur... | |
this.fireEvent('start'); | this.startMonitor(); | initComponent : function() { Ext.apply(this, { width : 500, frame : false, frame : true, items : [new Ext.form.FormPanel({ id : 'uploadform', labelWidth : 50, fileUpload : true, header : false, method : 'POST', frame : true, ur... |
} | }, | initComponent : function() { Ext.apply(this, { width : 500, frame : false, frame : true, items : [new Ext.form.FormPanel({ id : 'uploadform', labelWidth : 50, fileUpload : true, header : false, method : 'POST', frame : true, ur... |
this.geneChooserPanel = new Gemma.GeneGrid({ region : 'east', split : true, id : 'gene-chooser-panel' | this.formId = Ext.id(); Ext.apply(this, { items : new Ext.FormPanel({ frame : false, labelAlign : 'left', id : this.formId, height : 250, items : new Ext.form.FieldSet({ height : 240, items : [new Ext.form.TextField({ fieldLabel : 'Name', allowBlank : false, name : 'newSetName', minLength : 3, invalidText : "You must ... | initComponent : function() { this.geneChooserPanel = new Gemma.GeneGrid({ region : 'east', split : true, id : 'gene-chooser-panel' }); this.geneGroupPanel = new Gemma.GeneGroupPanel({ id : 'gene-group-panel', region : 'center', split : true }); Ext.apply(this.ge... |
this.geneGroupPanel = new Gemma.GeneGroupPanel({ id : 'gene-group-panel', region : 'center', split : true }); Ext.apply(this.geneChooserPanel.getTopToolbar().taxonCombo, { stateId : "", stateful : false, stateEvents : [] }); Ext.apply(this, { id : "gene-manager-panel", layout : 'border', height : 400, title : "Gen... | Gemma.GeneSetDetailsDialog.superclass.initComponent.call(this); this.addEvents("commit"); | initComponent : function() { this.geneChooserPanel = new Gemma.GeneGrid({ region : 'east', split : true, id : 'gene-chooser-panel' }); this.geneGroupPanel = new Gemma.GeneGroupPanel({ id : 'gene-group-panel', region : 'center', split : true }); Ext.apply(this.ge... |
proxy : new Ext.data.DWRProxy(OntologyService.findExactTerm), | proxy : new Ext.data.DWRProxy(AnnotationController.findTerm), | initComponent : function() { Ext.apply(this, { record : Ext.data.Record.create([{ name : "id", type : "int" }, { name : "value", type : "string" }, { name : "valueUri", type : "string" }, { name : "categoryUri", type : "string" }, { ... |
this.on("change", function(combo) { if (this.getValue()) { var ix = this.getStore().find("term", this.getValue()); var rec = this.getStore().getAt(ix); this.select(ix, true); this.fireEvent('select', this, rec, ix); } }); | initComponent : function() { if (this.termKey) { this.dwrMethod = MgedOntologyService.getMgedTermsByKey; this.dwrParams = [this.termKey]; } else { this.dwrMethod = MgedOntologyService.getUsefulMgedTerms; this.dwrParams = []; } this.store = new Ext.data.Store({ proxy : new Ext.data.D... | |
}, this.filterCombo, '->', { | }, this.filterCombo, this.taxonCombo, this.limitCombo] }), bbar : new Ext.Toolbar({ items : [{ | initComponent : function() { this.searchInGridField = new Ext.form.TextField({ enableKeyEvents : true, emptyText : 'Search', tooltip : "Text typed here will act as a filter.", listeners : { "keyup" : { fn : this.searchForText.createDelegate(this), scope : this, ... |
'tagsUpdated', 'updated', 'pubmedUpdated', 'pubmedRemove'); | 'tagsUpdated', 'updated'); | initComponent : function() { Gemma.EEManager.superclass.initComponent.call(this); this.addEvents('done', 'reportUpdated', 'differential', 'missingValue', 'link', 'processedVector', 'deleted', 'tagsUpdated', 'updated', 'pubmedUpdated', 'pubmedRemove'); this.save = function(id, fields) { /* * TODO */ }; } |
this.tpl = Gemma.getProfileThumbnailTemplate(false, false); Gemma.VisualizationDifferentialWindow.superclass.initComponent.call(this); | initComponent : function() { this.tpl = Gemma.getProfileThumbnailTemplate(false, false); Gemma.VisualizationDifferentialWindow.superclass.initComponent.call(this); }, | |
}, | if (this.title) { this.originalTitle = this.title; } this.zoomLegendId = 'zoomLegend-' + Ext.id(); this.store = new Gemma.VisualizationStore({ readMethod : this.readMethod }); this.dv = new Gemma.DataVectorThumbnailsView({ tpl : this.tpl, store : this.store, heatmapSortMethod : this.heatmapSortMethod }); this.zoomP... | initComponent : function() { this.tpl = Gemma.getProfileThumbnailTemplate(false, false); Gemma.VisualizationDifferentialWindow.superclass.initComponent.call(this); }, |
Ext.apply(Ext.getCmp('reader-checks'), { items : readerChecks }); Ext.apply(Ext.getCmp('writer-checks'), { items : writerChecks }); | initComponent : function() { Ext.Window.superclass.initComponent.call(this); /* * Add checkboxes as needed... */ Ext.apply(Ext.getCmp('reader-checks'), { items : readerChecks }); Ext.apply(Ext.getCmp('writer-checks'), { items : writerChecks }); thi... | |
this.doLayout(); | if (readerChecks.size() != 0) { Ext.apply(Ext.getCmp('reader-checks'), { items : readerChecks }); } if (writerChecks.size() != 0) { Ext.apply(Ext.getCmp('writer-checks'), { items : writerChecks }); } this.doLayout(); | initComponent : function() { Ext.Window.superclass.initComponent.call(this); /* * Add checkboxes as needed... */ Ext.apply(Ext.getCmp('reader-checks'), { items : readerChecks }); Ext.apply(Ext.getCmp('writer-checks'), { items : writerChecks }); thi... |
mgedTermKey : "experiment" | mgedTermKey : "experiment", taxonId : this.taxonId | initComponent : function() { Ext.apply(this, { columns : [{ header : "Category", dataIndex : "className" }, { header : "Term", dataIndex : "termName", renderer : this.termStyler.createDelegate(this) }, { header : "Annotation belongs to:",... |
this.valueCombo = new Gemma.CharacteristicCombo({ lazyRender : true | this.valueCombo = new Gemma.CharacteristicCombo({ taxonId : this.taxonId | initComponent : function() { Ext.apply(this, { columns : [{ header : "Category", dataIndex : "className" }, { header : "Term", dataIndex : "termName", renderer : this.termStyler.createDelegate(this) }, { header : "Annotation belongs to:",... |
var template = new Ext.XTemplate('<tpl for="."><div style="font-size:11px" class="x-combo-list-item" ext:qtip="{name} ({size})"> {name} {description} ({size})</div></tpl>'); | var template = new Ext.XTemplate('<tpl for="."><div style="font-size:11px" class="x-combo-list-item" ext:qtip="{name} ({size})"> {name} - {description} ({size})</div></tpl>'); | initComponent : function() { var template = new Ext.XTemplate('<tpl for="."><div style="font-size:11px" class="x-combo-list-item" ext:qtip="{name} ({size})"> {name} {description} ({size})</div></tpl>'); Ext.apply(this, { tpl : template, store : new Gemma.GeneGroupStore({ proxy : new Ext.data.DWRProxy(... |
this.store.on("datachanged", function() { if (this.store.getCount() === 0) { this.fireEvent("invalid", "No matching genes"); } }, this); | this.on('select', this.setGeneGroup, this); | initComponent : function() { var template = new Ext.XTemplate('<tpl for="."><div style="font-size:11px" class="x-combo-list-item" ext:qtip="{name} ({size})"> {name} {description} ({size})</div></tpl>'); Ext.apply(this, { tpl : template, store : new Gemma.GeneGroupStore({ proxy : new Ext.data.DWRProxy(... |
height : 300, region : 'south', | region : 'east', | initComponent : function() { var refreshGeneGroupData = function() { var showPrivateOnly = !Ext.getCmp("geneGroupData-show-public").pressed; Ext.getCmp('gene-group-panel').getStore().load({ params : [showPrivateOnly] }); }; this.geneChooserPanel = new Gemma.GeneGrid({ height : 300, region : 'so... |
height : 300, | initComponent : function() { var refreshGeneGroupData = function() { var showPrivateOnly = !Ext.getCmp("geneGroupData-show-public").pressed; Ext.getCmp('gene-group-panel').getStore().load({ params : [showPrivateOnly] }); }; this.geneChooserPanel = new Gemma.GeneGrid({ height : 300, region : 'so... | |
region : 'north' | region : 'center' | initComponent : function() { var refreshGeneGroupData = function() { var showPrivateOnly = !Ext.getCmp("geneGroupData-show-public").pressed; Ext.getCmp('gene-group-panel').getStore().load({ params : [showPrivateOnly] }); }; this.geneChooserPanel = new Gemma.GeneGrid({ height : 300, region : 'so... |
Ext .getCmp("gene-group-panel") .getStore() .load({ params : [] }); | refreshGeneGroupData(); | initComponent : function() { var refreshGeneGroupData = function() { var showPrivateOnly = !Ext.getCmp("geneGroupData-show-public").pressed; Ext.getCmp('gene-group-panel').getStore().load({ params : [showPrivateOnly] }); }; this.geneChooserPanel = new Gemma.GeneGrid({ height : 300, region : 'so... |
var recs = Ext.getCmp("gene-group-panel").getStore() .getModifiedRecords(); if (recs && recs[0]) { var p = []; for (var i = 0; i < recs.length; i++) { if (recs[i].data.owner.authority) { recs[i].data.owner = { authority : recs[i].data.owner.authority, principal : recs[i].data.owner.principal }; } else if (recs[i]... | initComponent : function() { var refreshGeneGroupData = function() { var showPrivateOnly = !Ext.getCmp("geneGroupData-show-public").pressed; Ext.getCmp('gene-group-panel').getStore().load({ params : [showPrivateOnly] }); }; this.geneChooserPanel = new Gemma.GeneGrid({ height : 300, region : 'so... | |
SecurityController.updatePermissions(p, { | var rec = Ext.getCmp("gene-group-panel") .getSelectionModel().getSelected(); if (rec) { var geneIds = Ext.getCmp("gene-chooser-panel") .getGeneIds(); SecurityController.updateGeneGroup( rec.data.entityId, geneIds, { | initComponent : function() { var refreshGeneGroupData = function() { var showPrivateOnly = !Ext.getCmp("geneGroupData-show-public").pressed; Ext.getCmp('gene-group-panel').getStore().load({ params : [showPrivateOnly] }); }; this.geneChooserPanel = new Gemma.GeneGrid({ height : 300, region : 'so... |
Ext.getCmp('gene-group-panel') .getStore().load({ params : [] }); | refreshGeneGroupData(); | initComponent : function() { var refreshGeneGroupData = function() { var showPrivateOnly = !Ext.getCmp("geneGroupData-show-public").pressed; Ext.getCmp('gene-group-panel').getStore().load({ params : [showPrivateOnly] }); }; this.geneChooserPanel = new Gemma.GeneGrid({ height : 300, region : 'so... |
refreshGeneGroupData(); | initComponent : function() { var refreshGeneGroupData = function() { var showPrivateOnly = !Ext.getCmp("geneGroupData-show-public").pressed; Ext.getCmp('gene-group-panel').getStore().load({ params : [showPrivateOnly] }); }; this.geneChooserPanel = new Gemma.GeneGrid({ height : 300, region : 'so... | |
handler : function() { var sel = Ext.getCmp('gene-group-panel').getSelectionModel().getSelected(); var groupId = sel.get("id"); var groupName = sel.get("name"); var processResult = function(btn) { if (btn == 'yes') { var loadMask = new Ext.LoadMask(Ext.getCmp("gene-group-panel").getEl(), { msg : "Saving changes..."... | handler : function() {deleteGeneGroup();} | initComponent : function() { this.geneChooserPanel = new Gemma.GeneGrid({ region : 'east', id : 'gene-chooser-panel' }); this.geneGroupPanel = new Gemma.GeneGroupPanel({ id : 'gene-group-panel', region : 'center' }); Ext.apply(this.geneChooserPanel.getTopToolbar().taxonComb... |
this.geneGroupPanel.on("keypress", function(e) { if (e.getCharCode() == Ext.EventObject.DELETE) { deleteGeneGroup(); } }, this); | initComponent : function() { this.geneChooserPanel = new Gemma.GeneGrid({ region : 'east', id : 'gene-chooser-panel' }); this.geneGroupPanel = new Gemma.GeneGroupPanel({ id : 'gene-group-panel', region : 'center' }); Ext.apply(this.geneChooserPanel.getTopToolbar().taxonComb... | |
sortInfo : { field : "size", dir : "DESC" }, | initComponent : function() { var template = new Ext.XTemplate('<tpl for="."><div style="font-size:11px" class="x-combo-list-item" ext:qtip="{name} ({size})"> {name} - {description} ({size})</div></tpl>'); Ext.apply(this, { tpl : template, store : new Gemma.GeneGroupStore({ proxy : new Ext.data.DWRProx... | |
GeneSetController.getUsersGeneGroups(false, function(records) { | GeneSetController.getUsersGeneGroups(false, this.taxon.id, function(records) { | initComponent : function() { var template = new Ext.XTemplate('<tpl for="."><div style="font-size:11px" class="x-combo-list-item" ext:qtip="{name} ({size})"> {name} - {description} ({size})</div></tpl>'); Ext.apply(this, { tpl : template, store : new Gemma.GeneGroupStore({ proxy : new Ext.data.DWRProx... |
failure : function(form, a) { | failure : function(form, a) { console.log(a); | initComponent : function() { Ext.apply(this, { width : 500, frame : false, frame : true, items : [new Ext.form.FormPanel({ id : 'uploadform', labelWidth : 50, fileUpload : true, header:false, method: 'POST', frame: true... |
'Problem with processing of file "' + a.result.originalFile + '" on the server'); | 'Problem with processing of file on the server: ' + a.result.error); | initComponent : function() { Ext.apply(this, { width : 500, frame : false, frame : true, items : [new Ext.form.FormPanel({ id : 'uploadform', labelWidth : 50, fileUpload : true, header:false, method: 'POST', frame: true... |
handler : this.hide, | handler : function() {this.hide()}.createDelegate(this), | initComponent : function() { this.addEvents({ "commit" : true }); Ext.apply(this, { items : [{ id : 'gene-list-text', xtype : 'textarea', fieldLabel : "Paste in gene symbols, one per line, up to " + Gemma.MAX_GENES_PER_QUERY, width : 290 }... |
Ext.apply(this, { columns : [{ header : 'Name', dataIndex : 'name', editable : false, groupable : false, sortable : true }, { header : 'Description', dataIndex : 'description', editable : false, groupable : false, sortable : true }, { header : 'Owner', hidden : true, tooltip : 'Who owns the data', dataIndex : 'owner', ... | this.geneChooserPanel = new Gemma.GeneGrid({ region : 'east', split : true, id : 'gene-chooser-panel' | initComponent : function() { Ext.apply(this, { columns : [{ header : 'Name', dataIndex : 'name', editable : false, groupable : false, sortable : true }, { header : 'Description', dataIndex : 'description', editable : false, ... |
Gemma.GeneGroupGrid.superclass.initComponent.call(this); | this.geneGroupPanel = new Gemma.GeneGroupPanel({ id : 'gene-group-panel', region : 'center', split : true }); | initComponent : function() { Ext.apply(this, { columns : [{ header : 'Name', dataIndex : 'name', editable : false, groupable : false, sortable : true }, { header : 'Description', dataIndex : 'description', editable : false, ... |
this.getStore().load({ params : [this.geneid] | Ext.apply(this.geneChooserPanel.getTopToolbar().taxonCombo, { stateId : "", stateful : false, stateEvents : [] | initComponent : function() { Ext.apply(this, { columns : [{ header : 'Name', dataIndex : 'name', editable : false, groupable : false, sortable : true }, { header : 'Description', dataIndex : 'description', editable : false, ... |
Ext.apply(this, { id : "gene-manager-panel", layout : 'border', height : 400, title : "Gene Group Manager", tbar : { items : [{ tooltip : "Create New Group", icon : "/Gemma/images/icons/add.png", id : 'geneimportgroup-save-btn', handler : function(b, e) { Ext.Msg.prompt('New Group', 'Please enter the group name:', fu... | initComponent : function() { Ext.apply(this, { columns : [{ header : 'Name', dataIndex : 'name', editable : false, groupable : false, sortable : true }, { header : 'Description', dataIndex : 'description', editable : false, ... | |
width : 30 | width : 35 | initComponent : function() { var si; if (this.lite) { this.autoScroll = true; this.height = 300; si = { field : 'posSupp', direction : 'DESC' }; } else { si = { field : 'sortKey', direction : 'ASC' }; } this.ds = new Ext.data.Store({ proxy : new Ext.data.MemoryProxy([]), reader : n... |
width : 75, | width : 70, | initComponent : function() { var si; if (this.lite) { this.autoScroll = true; this.height = 300; si = { field : 'posSupp', direction : 'DESC' }; } else { si = { field : 'sortKey', direction : 'ASC' }; } this.ds = new Ext.data.Store({ proxy : new Ext.data.MemoryProxy([]), reader : n... |
}] | }, { id : 'gene2GeneProteinAssociationStringUrl', header : "PPI", dataIndex : "gene2GeneProteinAssociationStringUrl", width : 30, renderer : this.proteinlinkStyler.createDelegate(this), tooltip : "Evidence for Protein Protein Interactions from external sources", sortable : true } ] | initComponent : function() { var si; if (this.lite) { this.autoScroll = true; this.height = 300; si = { field : 'posSupp', direction : 'DESC' }; } else { si = { field : 'sortKey', direction : 'ASC' }; } this.ds = new Ext.data.Store({ proxy : new Ext.data.MemoryProxy([]), reader : n... |
}, { | },{ id : 'gene2GeneProteinAssociationStringUrl', header : "PPI", dataIndex : "gene2GeneProteinAssociationStringUrl", width : 30, renderer : this.proteinlinkStyler.createDelegate(this), tooltip : "Evidence for Protein Protein Interactions from external sources", sortable : true }, { | initComponent : function() { var si; if (this.lite) { this.autoScroll = true; this.height = 300; si = { field : 'posSupp', direction : 'DESC' }; } else { si = { field : 'sortKey', direction : 'ASC' }; } this.ds = new Ext.data.Store({ proxy : new Ext.data.MemoryProxy([]), reader : n... |
var templ = new Ext.XTemplate('<tpl for="."><div ext:qtip="{description}" class="x-combo-list-item">{shortName} - {name}</div></tpl>'); | var templ = new Ext.XTemplate('<tpl for="."><div ext:qtip="{description}" class="x-combo-list-item"><tpl if="troubled"><img src="/Gemma/images/icons/stop.png" /></tpl>{shortName} - {name}</div></tpl>'); | initComponent : function() { var templ = new Ext.XTemplate('<tpl for="."><div ext:qtip="{description}" class="x-combo-list-item">{shortName} - {name}</div></tpl>'); Ext.apply(this, { store : new Ext.data.Store({ sortInfo : { field : 'name', direction : 'ASC' }, proxy : new Ex... |
node.appendBranchTo(this); | node.appendBranchTo(newParent); | function initDragDrop(table) { // Configure draggable nodes $(options.dragTarget).draggable({ helper: function () { var helper = $(this).clone() helper.find('span.expander').remove(); return helper; }, opacity: .75, refreshPositions: true, // Performance? revert: "i... |
options.dropCallback(node, $(this), e, ui); | options.dropCallback(node, newParent, e, ui); | function initDragDrop(table) { // Configure draggable nodes $(options.dragTarget).draggable({ helper: function () { var helper = $(this).clone() helper.find('span.expander').remove(); return helper; }, opacity: .75, refreshPositions: true, // Performance? revert: "i... |
}; | } | function initDragDrop(table) { // Configure draggable nodes $(options.dragTarget).draggable({ helper: function () { var helper = $(this).clone() helper.find('span.expander').remove(); return helper; }, opacity: .75, refreshPositions: true, // Performance? revert: "i... |
if( !gallery) { gallery = new dojo.rpc.JsonService( photark.constants.GalleryServiceEndpoint ); } | function initGallery() { try { if( !gallery) { gallery = new dojo.rpc.JsonService( photark.constants.GalleryServiceEndpoint ); } gallery.getAlbums().addCallback(gallery_getAlbumsResponse); } catch(exception) { alert(exception); }} | |
gallery.getAlbums().addCallback(gallery_getAlbumsResponse); | gallery.getAlbumsToUser(SECURITY_TOKEN).addCallback(gallery_getAlbumsResponse); | function initGallery() { try { gallery.getAlbums().addCallback(gallery_getAlbumsResponse); } catch(exception) { alert(exception); }} |
org_hudsonci_buildMonitorManager.getPreferences().upgrade(); | org_hudsonci.initialise = function() { org_hudsonci_buildMonitorManager.getBuildMonitor().prepare(); org_hudsonci_buildMonitorManager.getAddFeedWindow().setMenuVisibility(); org_hudsonci.schedule();}; | |
initialize: function(element, vertical){ | initialize: function(element, vertical, params){ | initialize: function(element, vertical){ // capture the original string this.originalContents = element.innerHTML; this.element = element; // fill the element with invisible spans this.element.innerHTML = this.originalContents.stripTags().fragment(vertical); ... |
new Effect.Appear(spans[spanIndex].id, {duration:0.5}); | new Effect.Appear(spans[spanIndex].id, {duration: 0.4}); | initialize: function(element, vertical){ // capture the original string this.originalContents = element.innerHTML; this.element = element; // fill the element with invisible spans this.element.innerHTML = this.originalContents.stripTags().fragment(vertical); ... |
}, 0.08); | }, this.interval); | initialize: function(element, vertical){ // capture the original string this.originalContents = element.innerHTML; this.element = element; // fill the element with invisible spans this.element.innerHTML = this.originalContents.stripTags().fragment(vertical); ... |
}; | } | function initialize(node) { if(!node.hasClass("initialized")) { node.addClass("initialized"); var childNodes = childrenOf(node); if(!node.hasClass("parent") && childNodes.length > 0) { node.addClass("parent"); } if(node.hasClass("parent")) { var cell = $(nod... |
$('#password_forgotten_link').click(function() { $('#password_forgotten').slideToggle('fast'); }); | $('#password_forgotten_link').click(function() { $('#password_forgotten').slideToggle('fast'); $('input.request_password').focus(); }); | function initialize_login_form() { $('#password_forgotten_link').click(function() { $('#password_forgotten').slideToggle('fast'); }); $('input.text_field:first').focus();} |
function initialize_signup_form(locale, username_in_use_message, email_in_use_message, captcha_message) { | function initialize_signup_form(locale, username_in_use_message, invalid_username_message, email_in_use_message, captcha_message) { | function initialize_signup_form(locale, username_in_use_message, email_in_use_message, captcha_message) { $('#help_captcha_link').click(function() { $('#help_captcha').lightbox_me({centered: true}); }); $('#terms_link').click(function() { $('#terms').lightbox_me({centered: true}); }); $("input[type=checkbox]").uniform(... |
"person[username]": {required: true, minlength: 3, maxlength: 20, remote: "/people/check_username_availability"}, | "person[username]": {required: true, minlength: 3, maxlength: 20, valid_username: true, remote: "/people/check_username_availability"}, | function initialize_signup_form(locale, username_in_use_message, email_in_use_message, captcha_message) { $('#help_captcha_link').click(function() { $('#help_captcha').lightbox_me({centered: true}); }); $('#terms_link').click(function() { $('#terms').lightbox_me({centered: true}); }); $("input[type=checkbox]").uniform(... |
"person[username]": { remote: username_in_use_message }, | "person[username]": { valid_username: invalid_username_message, remote: username_in_use_message }, | function initialize_signup_form(locale, username_in_use_message, email_in_use_message, captcha_message) { $('#help_captcha_link').click(function() { $('#help_captcha').lightbox_me({centered: true}); }); $('#terms_link').click(function() { $('#terms').lightbox_me({centered: true}); }); $("input[type=checkbox]").uniform(... |
function initialize_update_account_info_form(locale, change_text, cancel_text, email_default, pw1_default, pw2_default) { | function initialize_update_account_info_form(locale, change_text, cancel_text, email_default, pw1_default, pw2_default, email_in_use_message) { | function initialize_update_account_info_form(locale, change_text, cancel_text, email_default, pw1_default, pw2_default) { $('#account_email_link').toggle( function() { $('#account_email_content').hide(); $('#account_email_form').show(); $(this).text(cancel_text); $('#person_email').watermark(email_default, {cl... |
messages: { "person[email]": { remote: email_in_use_message }, }, | function initialize_update_account_info_form(locale, change_text, cancel_text, email_default, pw1_default, pw2_default) { $('#account_email_link').toggle( function() { $('#account_email_content').hide(); $('#account_email_form').show(); $(this).text(cancel_text); $('#person_email').watermark(email_default, {cl... | |
if (permissions.indexOf("|deleteImagesFromAlbum.others|") != -1 || (permissions.indexOf("|deleteImagesFromAlbum.own|") != -1 && albums[albumIndex].owners + "".indexOf(userId) != -1) || permissions.indexOf("|" + albumName + ".deleteImages|") != -1) { | if (userId == "SuperAdmin" || (albums[albumIndex].owners + "").indexOf(userId) != -1 || permissions.indexOf("|" + albumName + ".deleteImages|") != -1) { | function initializeAdminGallery() { var remove = false; if (permissions.indexOf("|deleteImagesFromAlbum.others|") != -1 || (permissions.indexOf("|deleteImagesFromAlbum.own|") != -1 && albums[albumIndex].owners + "".indexOf(userId) != -1) || permissions.indexOf("|" + albumName + ".deleteImages|") != -1) { r... |
var albumName = albums[albumIndex].name; | function initializeAdminGallery() { var remove = false; if (permissions.indexOf("|deleteImagesFromAlbum.others|") != -1 || (permissions.indexOf("|deleteImagesFromAlbum.own|") != -1 && albums[albumIndex].owners + "".indexOf(userId) != -1) || permissions.indexOf("|" + albumName + ".deleteImages|") != -1) { r... | |
var html = "<table border=\"0\" style=\"width:180px; text-align: center;\"><tr style=\"cellpadding:10\"><td colspan=\"2\"><a>" + img_html + "</a></td></tr><tr><td>" + albums[albumIndex].pictures[i] + "</td><td><a href=\"javascript:confirmDelete('" + albums[albumIndex].pictures[i] + "');\">Remove</a></td></tr></table>"; | var html = "<table border=\"0\" style=\"width:180px; text-align: center;\"><tr style=\"cellpadding:10\"><td colspan=\"2\"><a>" + img_html + "</a></td></tr><tr><td>" + albums[albumIndex].pictures[i] + "</td><td><a href=\"javascript:confirmDelete('" + albums[albumIndex].pictures[i] + "','image');\">Remove</a></td></tr></... | function initializeAdminGallery() { var remove = false; if (permissions.indexOf("|deleteImagesFromAlbum.others|") != -1 || (permissions.indexOf("|deleteImagesFromAlbum.own|") != -1 && albums[albumIndex].owners + "".indexOf(userId) != -1) || permissions.indexOf("|" + albumName + ".deleteImages|") != -1) { r... |
var table=document.getElementById('adminTableGallery'); | var remove = false; if (permissions.indexOf("|deleteImagesFromAlbum.others|") != -1 || (permissions.indexOf("|deleteImagesFromAlbum.own|") != -1 && albums[albumIndex].owners + "".indexOf(userId) != -1) || permissions.indexOf("|" + albumName + ".deleteImages|") != -1) { remove = true; } var table = document.getElementBy... | function initializeAdminGallery() { var table=document.getElementById('adminTableGallery'); var lastRow = table.rows.length; for (var i = 0; i < albums[albumIndex].pictures.length;) { var row = table.insertRow( Math.floor(i/4)); for (var j = 0; j < 4;j++) { var column = row.insertCell(i%4)... |
var html = "<table border=\"0\" style=\"width:180px; text-align: center;\"><tr style=\"cellpadding:10\"><td colspan=\"2\"><a>" + img_html + "</a></td></tr><tr><td>"+albums[albumIndex].pictures[i]+"</td><td><a href=\"javascript:confirmDelete('"+albums[albumIndex].pictures[i]+"');\">Remove</a></td></tr></table>"; | if (remove) { var html = "<table border=\"0\" style=\"width:180px; text-align: center;\"><tr style=\"cellpadding:10\"><td colspan=\"2\"><a>" + img_html + "</a></td></tr><tr><td>" + albums[albumIndex].pictures[i] + "</td><td><a href=\"javascript:confirmDelete('" + albums[albumIndex].pictures[i] + "');\">Remove</a></td><... | function initializeAdminGallery() { var table=document.getElementById('adminTableGallery'); var lastRow = table.rows.length; for (var i = 0; i < albums[albumIndex].pictures.length;) { var row = table.insertRow( Math.floor(i/4)); for (var j = 0; j < 4;j++) { var column = row.insertCell(i%4)... |
function initializeAlbum(albumName) { | function initializeAlbum(albumName,imageName) { | function initializeAlbum(albumName) { try { this.albumName = albumName; // gallery.getAlbumPictures(albumName).addCallback(gallery_getAlbumPicturesResponse); gallery.getAlbumPicturesToUser(albumName,SECURITY_TOKEN).addCallback(gallery_getAlbumPicturesResponse); } catch(exception) { al... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.