Commit 92d142b2 authored by LE GAC Renaud's avatar LE GAC Renaud
Browse files

Update AffiliationFromInstitute and Publication widget to run with absolute URL.

parent 2fa9fde1
......@@ -12,7 +12,8 @@ Ext.define('Limbra.wizard.AffiliationFromInstituteDb', {
'Ext.form.field.Number'
],
url: 'wizards/affiliation_institute',
// private property
url: undefined,
// private properties for internationalisation
......@@ -52,6 +53,11 @@ Ext.define('Limbra.wizard.AffiliationFromInstituteDb', {
var me = this;
// build the absolute URL pointing to the wizard
if (me.url === undefined) {
me.url = '/' + Dbui.name + '/wizards/affiliation_institute';
}
//initialise the base class
me.callParent(arguments);
......
......@@ -14,7 +14,7 @@ Ext.define('Limbra.wizard.AffiliationFromPublication', {
'Ext.form.field.Text'
],
url: 'wizards/affiliation_publication',
url: undefined,
// private properties for internationalisation
......@@ -65,6 +65,11 @@ Ext.define('Limbra.wizard.AffiliationFromPublication', {
var me = this;
// build the absolute URL pointing to the wizard
if (me.url === undefined) {
me.url = '/' + Dbui.name + '/wizards/affiliation_publication';
}
//initialise the base class
me.callParent(arguments);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment