Skip to content

ajaxSettings is not passed to the nested kit (onDetails) #69

@vedina

Description

@vedina

Please pass ajaxSettings from MatrixKit to the SubstanceKit , e.g. in MatrixKit.prototype.onStructures and MatrixKit.prototype.onSubstances ; otherwise the read across workflow is nonfunctional (one can not select substances to create the data matrix)

	MatrixKit.prototype.onSubstances = function (id, panel) {
		if (!this.substanceKit) {
.......
				onDetails: function (substRoot, data) {
					var baseUrl = jT.formBaseUrl(this.datasetUri),
						substanceUri = baseUrl + 'substance?type=related&addDummySubstance=true&compound_uri=' + encodeURIComponent(data.compound.URI) + 
							'&filterbybundle=' + encodeURIComponent(self.bundleUri) + 
							'&bundle_uri=' + encodeURIComponent(self.bundleUri);
					new jT.ui.Substance({
						**ajaxSettings : this.settings.ajaxSettings,**

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions