Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
limbra
limbra
Commits
92d142b2
Commit
92d142b2
authored
Sep 22, 2016
by
LE GAC Renaud
Browse files
Update AffiliationFromInstitute and Publication widget to run with absolute URL.
parent
2fa9fde1
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
2 deletions
+13
-2
static/limbra/src/wizard/AffiliationFromInstituteDb.js
static/limbra/src/wizard/AffiliationFromInstituteDb.js
+7
-1
static/limbra/src/wizard/AffiliationFromPublication.js
static/limbra/src/wizard/AffiliationFromPublication.js
+6
-1
No files found.
static/limbra/src/wizard/AffiliationFromInstituteDb.js
View file @
92d142b2
...
...
@@ -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
);
...
...
static/limbra/src/wizard/AffiliationFromPublication.js
View file @
92d142b2
...
...
@@ -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
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment